Correction of the bug in the constructor of eoValueParam l170: numOfDigits is set before reading the value with getValue().
This commit is contained in:
parent
bf7f395115
commit
dbb8fbe9a7
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue