Przeglądaj źródła

write globfeats

Bjoern Froehlich 13 lat temu
rodzic
commit
4480be23fc
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      semseg/SemSegContextTree.cpp

+ 3 - 3
semseg/SemSegContextTree.cpp

@@ -1972,9 +1972,9 @@ void SemSegContextTree::semanticseg ( CachedExample *ce, NICE::Image & segresult
 
   string orgname = list.back();
 #ifdef WRITEGLOB
-  outstream = ofstream("filelist.txt",ofstream::app);
-  outstream << orgname << ".dat" << endl;
-  outstream.close();
+  ofstream ostream("filelist.txt",ofstream::app);
+  ostream << orgname << ".dat" << endl;
+  ostream.close();
 #endif
   if ( cndir != "" )
   {