From 0cc10cf4059dc459027cb80235129318cc3255b5 Mon Sep 17 00:00:00 2001
From: Bertrand Kerautret <bertrand.kerautret@univ-lyon2.fr>
Date: Sun, 16 Dec 2018 01:07:45 +0100
Subject: [PATCH] fix

---
 Code/Seg/IPOLdemo/mainIPOL.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/Seg/IPOLdemo/mainIPOL.cpp b/Code/Seg/IPOLdemo/mainIPOL.cpp
index 703b2dd..013bdc6 100755
--- a/Code/Seg/IPOLdemo/mainIPOL.cpp
+++ b/Code/Seg/IPOLdemo/mainIPOL.cpp
@@ -32,7 +32,7 @@ int main (int argc, char *argv[])
   // - output file
   string output_filename = argv[2];
   ofstream fout;  
-  fout.open(output_filename, std::fstream::out);
+  fout.open(output_filename.c_str(), std::fstream::out);
 
   
 // Calcul de la carte de gradient (utilise qt)
-- 
GitLab