Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bos #30222 EDF 25368 - warning when computing
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_subMesh.cxx
diff --git
a/src/SMESH/SMESH_subMesh.cxx
b/src/SMESH/SMESH_subMesh.cxx
index ecfa286c1698578defb202cfaae2cea3e592f0d1..0b697d7a0b9eeaafb6d6a37a3cd2aa5898edfb5d 100644
(file)
--- a/
src/SMESH/SMESH_subMesh.cxx
+++ b/
src/SMESH/SMESH_subMesh.cxx
@@
-2247,10
+2247,10
@@
const SMESH_Hypothesis* SMESH_subMesh::getSimilarAttached(const TopoDS_Shape&
//=======================================================================
SMESH_Hypothesis::Hypothesis_Status
//=======================================================================
SMESH_Hypothesis::Hypothesis_Status
- SMESH_subMesh::CheckConcurrentHypothesis
(const int theHypType
)
+ SMESH_subMesh::CheckConcurrentHypothesis
( SMESH_Hypothesis* theHypothesis
)
{
// is there local hypothesis on me?
{
// is there local hypothesis on me?
- if ( getSimilarAttached( _subShape,
0, theHypType
) )
+ if ( getSimilarAttached( _subShape,
theHypothesis
) )
return SMESH_Hypothesis::HYP_OK;
return SMESH_Hypothesis::HYP_OK;
@@
-2260,7
+2260,7
@@
SMESH_Hypothesis::Hypothesis_Status
for (; it.More(); it.Next())
{
const TopoDS_Shape& ancestor = it.Value();
for (; it.More(); it.Next())
{
const TopoDS_Shape& ancestor = it.Value();
- const SMESH_Hypothesis* hyp = getSimilarAttached( ancestor,
0, theHypType
);
+ const SMESH_Hypothesis* hyp = getSimilarAttached( ancestor,
theHypothesis
);
if ( hyp )
{
if ( aPrevWithHyp.IsNull() || aPrevWithHyp.IsSame( ancestor ))
if ( hyp )
{
if ( aPrevWithHyp.IsNull() || aPrevWithHyp.IsSame( ancestor ))