Author: logari81
Date: Mon Mar 31 00:50:53 2014
New Revision: 4569

URL: http://svn.gna.org/viewcvs/getfem?rev=4569&view=rev
Log:
fix issue introduced with commit 4559

Modified:
    trunk/getfem/src/getfem_import.cc

Modified: trunk/getfem/src/getfem_import.cc
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/src/getfem_import.cc?rev=4569&r1=4568&r2=4569&view=diff
==============================================================================
--- trunk/getfem/src/getfem_import.cc   (original)
+++ trunk/getfem/src/getfem_import.cc   Mon Mar 31 00:50:53 2014
@@ -1113,7 +1113,7 @@
   void import_mesh(const std::string& filename, mesh& msh) {
     size_type pos = filename.find_last_of(":");
     if (pos != std::string::npos)
-      getfem::import_mesh(filename.substr(pos+1), filename.substr(0,pos-1), 
msh);
+      getfem::import_mesh(filename.substr(pos+1), filename.substr(0,pos), msh);
     else
       msh.read_from_file(filename);
   }


_______________________________________________
Getfem-commits mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-commits

Reply via email to