diff --git a/Code/Seg/IPOLdemo/mainIPOL.cpp b/Code/Seg/IPOLdemo/mainIPOL.cpp
index f6c6bb333d9de8b17437fa693f29d80de24e9aa0..7c185f9e0ea26567b13251e22733f3f732d86b47 100755
--- a/Code/Seg/IPOLdemo/mainIPOL.cpp
+++ b/Code/Seg/IPOLdemo/mainIPOL.cpp
@@ -45,7 +45,7 @@ int main (int argc, char *argv[])
   ofstream fout;  
   fout.open (output_filename.c_str(), std::fstream::out);
   ofstream foutAllPts;
-  foutAllPts.open("segmentsPoints.dat",std::fstream::out)
+  foutAllPts.open("segmentsPoints.dat",std::fstream::out);
   
   // Gradient map extraction (uses qt)
   QImage image;