Skip to content
Snippets Groups Projects
Commit 9612c824 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

fixed auto bug for eigen

parent e8b41238
No related branches found
No related tags found
1 merge request!470Resolve "ProcessorLandmarkExternal add class and id not mandatory"
Pipeline #17515 failed
This diff is collapsed.
...@@ -178,7 +178,7 @@ void ProcessorLandmarkExternalTest::initProblem(int _dim, ...@@ -178,7 +178,7 @@ void ProcessorLandmarkExternalTest::initProblem(int _dim,
// Emplace 3 random landmarks // Emplace 3 random landmarks
for (auto i = 0; i < 3; i++) for (auto i = 0; i < 3; i++)
{ {
bool init_landmark = _init_landmarks and mode != 3 and i % 3 != 2; bool init_landmark = _init_landmarks and not (mode == 3 and i % 3 == 2);
LandmarkExternalPtr lmk; LandmarkExternalPtr lmk;
if (dim == 2) if (dim == 2)
lmk = LandmarkBase::emplace<LandmarkExternal>( lmk = LandmarkBase::emplace<LandmarkExternal>(
......
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