Browse Source

write globfeats

Bjoern Froehlich 13 years ago
parent
commit
4480be23fc
1 changed files with 3 additions and 3 deletions
  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 != "" )
   {