We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7835679 commit 562ad4dCopy full SHA for 562ad4d
src/solver/IEFSolver.cpp
@@ -81,7 +81,7 @@ void IEFSolver::buildAnisotropicMatrix(const Cavity & cav)
81
Eigen::MatrixXd aInv = a.inverse();
82
83
// 1. Form T
84
- fullPCMMatrix_ = ((2 * M_PI * aInv - DE) * a * SI + SE * a * (2 * M_PI * aInv + DI.transpose().eval()));
+ fullPCMMatrix_ = ((2 * M_PI * aInv - DE) * a * SI + SE * a * (2 * M_PI * aInv + DI.adjoint().eval()));
85
// 2. Invert T using LU decomposition with full pivoting
86
// This is a rank-revealing LU decomposition, this allows us
87
// to test if T is invertible before attempting to invert it.
0 commit comments