From: vsv Date: Fri, 26 May 2006 10:58:02 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V3_2_0rc~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=50473d96c5fd1794a46f2d6a63a9624f14b87d5e;p=modules%2Fgeom.git *** empty log message *** --- diff --git a/src/GEOMImpl/GEOMImpl_PipeDriver.cxx b/src/GEOMImpl/GEOMImpl_PipeDriver.cxx index 84d023704..214143dfe 100644 --- a/src/GEOMImpl/GEOMImpl_PipeDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PipeDriver.cxx @@ -203,7 +203,7 @@ Standard_Integer GEOMImpl_PipeDriver::Execute(TFunction_Logbook& log) const Standard_Integer nbShapes = aSeqBases.Length(); Standard_Integer step = nbShapes/nbBases; - if(nbShapes < nbBases || fmod(nbShapes,nbBases)) + if(nbShapes < nbBases || fmod((double)nbShapes, (double)nbBases)) { if(aCI) delete aCI; Standard_ConstructionError::Raise("Invalid sections were specified for building pipe");