diff --git a/src/problem.cpp b/src/problem.cpp index fec23b17497b920b575f3f80c05a9db5882e9bc8..f80a99b4dcb9bcabdf2b896c96a531dfdc03ee7c 100644 --- a/src/problem.cpp +++ b/src/problem.cpp @@ -754,7 +754,7 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) { if (i==0) cout << " Extr " << (S->isExtrinsicDynamic() ? "[Dyn]" : "[Sta]") << " = ["; if (i==2) cout << " Intr " << (S->isIntrinsicDynamic() ? "[Dyn]" : "[Sta]") << " = ["; - auto sb = S->getStateBlockPtrDynamic(i); + auto sb = S->getStateBlockPtr(i); if (sb) { cout << (sb->isFixed() ? " Fix( " : " Est( ") << sb->getState().transpose() << " )";