mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-02 00:55:38 +05:00
Modify fmod() by '%' operator to operate with integers.
This commit is contained in:
parent
127d2277c6
commit
21c57ac1ed
@ -1726,7 +1726,7 @@ const TCollection_AsciiString & _pyCommand::GetObject()
|
|||||||
}
|
}
|
||||||
// if number of ' or " is not divisible by 2,
|
// if number of ' or " is not divisible by 2,
|
||||||
// then get an object at the start of the command
|
// then get an object at the start of the command
|
||||||
if ( fmod( nb1, 2 ) != 0 || fmod( nb2, 2 ) != 0 )
|
if ( nb1 % 2 != 0 || nb2 % 2 != 0 )
|
||||||
begPos = 1;
|
begPos = 1;
|
||||||
}
|
}
|
||||||
// store
|
// store
|
||||||
|
Loading…
Reference in New Issue
Block a user