Skip to content
Snippets Groups Projects
Commit ac170670 authored by Scott Snyder's avatar Scott Snyder Committed by Frank Winklmeier
Browse files

MuonSpacePoint: Fix eigen alias problem.

MuonSpacePoint: Fix eigen alias problem.

Fix a problem with aliasing eigen objects.

Fixes test failure seen in MuonHitCsvDump in the debug build.
parent 957a4b5c
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ namespace MuonR4{
}
uvcov(1,1) = std::pow(uvcov(1,1), 2);
}
Jac = Jac.inverse();
Jac = Jac.inverse().eval();
AmgSymMatrix(2) cov = Jac * uvcov * Jac.transpose();
m_measUncerts = Amg::Vector2D(std::sqrt(cov(0,0)), std::sqrt(cov(1,1)));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment