Skip to content

Commit 562ad4d

Browse files
author
Roberto Di Remigio
committed
transpose() -> adjoint() in IEFSolver
1 parent 7835679 commit 562ad4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solver/IEFSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void IEFSolver::buildAnisotropicMatrix(const Cavity & cav)
8181
Eigen::MatrixXd aInv = a.inverse();
8282

8383
// 1. Form T
84-
fullPCMMatrix_ = ((2 * M_PI * aInv - DE) * a * SI + SE * a * (2 * M_PI * aInv + DI.transpose().eval()));
84+
fullPCMMatrix_ = ((2 * M_PI * aInv - DE) * a * SI + SE * a * (2 * M_PI * aInv + DI.adjoint().eval()));
8585
// 2. Invert T using LU decomposition with full pivoting
8686
// This is a rank-revealing LU decomposition, this allows us
8787
// to test if T is invertible before attempting to invert it.

0 commit comments

Comments
 (0)