From dbb8fbe9a786efd4d1c26408ac1883442e7643a6 Mon Sep 17 00:00:00 2001 From: verel Date: Wed, 31 Dec 2014 10:36:20 +0100 Subject: [PATCH] Correction of the bug in the constructor of eoValueParam l170: numOfDigits is set before reading the value with getValue(). --- eo/src/utils/eoParam.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo/src/utils/eoParam.h b/eo/src/utils/eoParam.h index d6e794ca9..e3a09f215 100644 --- a/eo/src/utils/eoParam.h +++ b/eo/src/utils/eoParam.h @@ -166,9 +166,9 @@ public : : eoParam(_longName, "", _description, _shortHand, _required), repValue(_defaultValue) { - eoParam::defValue(getValue()); // default precision numOfDigits = std::cout.precision(); + eoParam::defValue(getValue()); } /** Get a reference on the parameter value