Skip to content

Commit 961e2f6

Browse files
committed
Fix: updated jacobi as template
Signed-off-by: miguelgonrod <miguelgonrod2004@gmail.com>
1 parent c2f6d12 commit 961e2f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/DopplerVelocityLog.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,8 +1572,8 @@ namespace gz
15721572
{
15731573
// Enough rows for a unique least squares solution
15741574
const auto svdDecomposition =
1575-
beamBasis.topRows(numBeamsLocked).jacobiSvd(
1576-
Eigen::ComputeThinU | Eigen::ComputeThinV);
1575+
beamBasis.topRows(numBeamsLocked).jacobiSvd<
1576+
Eigen::ComputeThinU | Eigen::ComputeThinV>();
15771577

15781578
// Estimate DVL velocity mean and covariance in the reference frame
15791579
const Eigen::Vector3d velocityMeanInReferenceFrame =
@@ -1822,8 +1822,8 @@ namespace gz
18221822
{
18231823
// Enough rows for a unique least squares solution
18241824
const auto svdDecomposition =
1825-
beamBasis.topRows(numBeamsLocked).jacobiSvd(
1826-
Eigen::ComputeThinU | Eigen::ComputeThinV);
1825+
beamBasis.topRows(numBeamsLocked).jacobiSvd<
1826+
Eigen::ComputeThinU | Eigen::ComputeThinV>();
18271827

18281828
// Estimate DVL velocity mean and covariance in the reference frame
18291829
const Eigen::Vector3d velocityMeanInReferenceFrame =

0 commit comments

Comments
 (0)