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:
541b20a
)
Conditional jump or move depends on uninitialised value
author
eap
<eap@opencascade.com>
Wed, 22 Dec 2021 15:32:40 +0000
(18:32 +0300)
committer
eap
<eap@opencascade.com>
Wed, 22 Dec 2021 15:32:40 +0000
(18:32 +0300)
src/SMESH/SMESH_Homard.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Homard.cxx
b/src/SMESH/SMESH_Homard.cxx
index 9351216ac25d29b3af61baa5fe7bb4c61ec90504..44dd23937bb2ad50d0b9220a0692735ef1c16b67 100644
(file)
--- a/
src/SMESH/SMESH_Homard.cxx
+++ b/
src/SMESH/SMESH_Homard.cxx
@@
-4093,6
+4093,7
@@
namespace // actual projection algorithms
newSolution[0], newSolution[1]);
projection = ElSLib::CylinderValue( newSolution[0], newSolution[1],
_cylinder.Position(), _cylinder.Radius() );
+ _dist = point.Distance( projection );
return ( _dist * _dist < maxDist2 ) && SurfaceProjector::classify( newSolution );
}