Salome HOME
Solve problem of non install of includes of src/engine/.hxx into install/include...
[modules/yacs.git] / src / engine / AnyInputPort.cxx
index f204b5cb84b1459ca358e41a2f95abe48e95bba1..3db6b63297ba49803acdba02210702e1bf6d2428 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2016  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -26,6 +26,7 @@
 #include "YacsTrace.hxx"
 
 #include <iostream>
+#include <iomanip>
 #include <sstream>
 
 using namespace YACS::ENGINE;
@@ -132,7 +133,7 @@ std::string AnyInputPort::dump()
   switch (_value->getType()->kind())
     {
     case Double:
-      xmldump << "<value><double>" << _value->getDoubleValue() << "</double></value>" << endl;
+      xmldump << "<value><double>" << setprecision(16) << _value->getDoubleValue() << "</double></value>" << endl;
       break;
     case Int:
       xmldump << "<value><int>" << _value->getIntValue() << "</int></value>" << endl;