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
(parent:
33cfc57
)
fix misspelling
author
eap
<eap@opencascade.com>
Mon, 21 Jul 2008 09:47:54 +0000
(09:47 +0000)
committer
eap
<eap@opencascade.com>
Mon, 21 Jul 2008 09:47:54 +0000
(09:47 +0000)
src/StdMeshers/StdMeshers_Regular_1D.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_Regular_1D.cxx
b/src/StdMeshers/StdMeshers_Regular_1D.cxx
index b2a5074332644b76cb0acec0002e959fb3ed4e80..fe7f869d30c82c4c58f3eceb7b3198c9f8d2f59d 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Regular_1D.cxx
+++ b/
src/StdMeshers/StdMeshers_Regular_1D.cxx
@@
-624,7
+624,7
@@
bool StdMeshers_Regular_1D::computeInternalParameters(SMESH_Mesh & theMesh,
double scale = _value[ SCALE_FACTOR_IND ];
if (fabs(scale - 1.0) < Precision::Confusion()) {
- // special case to avoid division
on
zero
+ // special case to avoid division
by
zero
for (int i = 1; i < NbSegm; i++) {
double param = f + (l - f) * i / NbSegm;
theParams.push_back( param );