From bb8640bb365c06679a5133be590137157de664de Mon Sep 17 00:00:00 2001
From: Joan Sola <jsola@iri.upc.edu>
Date: Wed, 19 Dec 2018 10:14:20 +0100
Subject: [PATCH] change precision

---
 src/problem.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/problem.cpp b/src/problem.cpp
index 0b68ffd85..324ef036a 100644
--- a/src/problem.cpp
+++ b/src/problem.cpp
@@ -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)
                             {
-- 
GitLab