瀏覽代碼

high precission

Bjoern Froehlich 13 年之前
父節點
當前提交
ce81e84c8b
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 );