X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGHS3DPlugin%2FGHS3DPlugin_Hypothesis.cxx;h=8870c5a03fa6c15a3e9d3bf1121da37b6e476942;hb=2a3f77f8dceee279ba7a889a1d884481a7b46386;hp=6b6cc2534547655efea7993b52750b22dc839976;hpb=6876fe47da7def02b88ea076f5e8f8ce53f8bac3;p=plugins%2Fghs3dplugin.git diff --git a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx index 6b6cc25..8870c5a 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx @@ -1487,13 +1487,13 @@ std::string GHS3DPlugin_Hypothesis::CommandToRun(const GHS3DPlugin_Hypothesis* h if ( max_memory ) { float aMaximumMemory = hyp ? hyp->myMaximumMemory : -1; cmd += " --max_memory "; - if ( aMaximumMemory < 0 ) cmd += SMESH_Comment( DefaultMaximumMemory() ); - else cmd += SMESH_Comment( aMaximumMemory ); + if ( aMaximumMemory < 0 ) cmd += SMESH_Comment( int( DefaultMaximumMemory() )); + else cmd += SMESH_Comment( int( aMaximumMemory )); } if ( auto_memory && !useBndRecovery ) { float aInitialMemory = hyp ? hyp->myInitialMemory : -1; cmd += " --automatic_memory "; - if ( aInitialMemory > 0 ) cmd += SMESH_Comment( aInitialMemory ); + if ( aInitialMemory > 0 ) cmd += SMESH_Comment( int( aInitialMemory )); else cmd += "100"; } // component to mesh