Parcourir la source

high precission

Bjoern Froehlich il y a 13 ans
Parent
commit
ce81e84c8b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      semseg/SemSegContextTree.cpp

+ 1 - 0
semseg/SemSegContextTree.cpp

@@ -1575,6 +1575,7 @@ void SemSegContextTree::semanticseg ( CachedExample *ce, NICE::Image & segresult
 
 void SemSegContextTree::store ( std::ostream & os, int format ) const
 {
+  os.precision (numeric_limits<double>::digits10 + 1);
   os << nbTrees << endl;
   classnames.store ( os );