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

change precision

parent 96c5f1d8
No related branches found
No related tags found
1 merge request!228change precision
Pipeline #2321 passed
......@@ -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