Selaa lähdekoodia

high precission

Bjoern Froehlich 13 vuotta sitten
vanhempi
commit
ce81e84c8b
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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 );