Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
127d227
)
Modify fmod() by '%' operator to operate with integers.
author
akl
<akl@opencascade.com>
Fri, 5 Dec 2008 14:43:35 +0000
(14:43 +0000)
committer
akl
<akl@opencascade.com>
Fri, 5 Dec 2008 14:43:35 +0000
(14:43 +0000)
src/SMESH_I/SMESH_2smeshpy.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_2smeshpy.cxx
b/src/SMESH_I/SMESH_2smeshpy.cxx
index 130bc5fb9b951d553ce2b1399ffffa0fffdff447..4340ab41b8bd7a4a28dc174102638f7354e59b55 100644
(file)
--- a/
src/SMESH_I/SMESH_2smeshpy.cxx
+++ b/
src/SMESH_I/SMESH_2smeshpy.cxx
@@
-1726,7
+1726,7
@@
const TCollection_AsciiString & _pyCommand::GetObject()
}
// if number of ' or " is not divisible by 2,
// then get an object at the start of the command
}
// if number of ' or " is not divisible by 2,
// 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;
}
// store
begPos = 1;
}
// store