mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-05-28 00:47:50 +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 nbShapes = aSeqBases.Length();
|
||||||
Standard_Integer step = nbShapes/nbBases;
|
Standard_Integer step = nbShapes/nbBases;
|
||||||
|
|
||||||
if(nbShapes < nbBases || fmod(nbShapes,nbBases))
|
if(nbShapes < nbBases || fmod((double)nbShapes, (double)nbBases))
|
||||||
{
|
{
|
||||||
if(aCI) delete aCI;
|
if(aCI) delete aCI;
|
||||||
Standard_ConstructionError::Raise("Invalid sections were specified for building pipe");
|
Standard_ConstructionError::Raise("Invalid sections were specified for building pipe");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user