Skip to content
Snippets Groups Projects
Commit 2bbd3be7 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Merge branch 'prb_print' into 'master'

change precision

See merge request mobile_robotics/wolf!228
parents 96c5f1d8 bb8640bb
No related branches found
No related tags found
1 merge request!228change precision
......@@ -889,7 +889,7 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks)
cout << " sb: ";
cout << (sb->isFixed() ? "Fix" : "Est");
if (metric)
cout << std::setprecision(3) << " (" << sb->getState().transpose() << " )";
cout << std::setprecision(2) << " (" << sb->getState().transpose() << " )";
cout << endl;
}
......@@ -924,7 +924,7 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks)
}
cout << endl;
if (metric)
cout << " m = ( " << std::setprecision(3) << f->getMeasurement().transpose()
cout << " m = ( " << std::setprecision(2) << f->getMeasurement().transpose()
<< " )" << endl;
if (depth >= 4)
{
......
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