From aca95895c91f98fa873e361c4921f6d7ed82b76a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Mon, 8 Jan 2018 17:18:47 +0100 Subject: [PATCH] Fix: set precision of the correct stream. --- opm/autodiff/SimulatorIncompTwophaseAd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/autodiff/SimulatorIncompTwophaseAd.cpp b/opm/autodiff/SimulatorIncompTwophaseAd.cpp index 86c17dabc..490d44e09 100644 --- a/opm/autodiff/SimulatorIncompTwophaseAd.cpp +++ b/opm/autodiff/SimulatorIncompTwophaseAd.cpp @@ -143,7 +143,7 @@ namespace Opm double injected[2], double produced[2], double init_satvol[2]) { - std::cout.precision(5); + os.precision(5); const int width = 18; os << "\nVolume balance report (all numbers relative to total pore volume).\n"; os << " Saturated volumes: "