mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-05-26 00:50:48 +05:00
*** empty log message ***
This commit is contained in:
parent
77c8b33456
commit
50473d96c5
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user