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:
950f20d
)
23032: EDF SMESH: Projection 1D-2D fails with Netgen 1D-2D
author
eap
<eap@opencascade.com>
Wed, 15 Apr 2015 16:06:17 +0000
(19:06 +0300)
committer
eap
<eap@opencascade.com>
Wed, 15 Apr 2015 16:06:17 +0000
(19:06 +0300)
SIGSEGV in optimize mode on Debian
src/SMESH/SMESH_Pattern.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Pattern.cxx
b/src/SMESH/SMESH_Pattern.cxx
index 7aba007ab7b1d03a279b1548d0f6f996b1103ff2..4ede79e45238b761df7b76f937295b066d151374 100644
(file)
--- a/
src/SMESH/SMESH_Pattern.cxx
+++ b/
src/SMESH/SMESH_Pattern.cxx
@@
-718,10
+718,10
@@
bool SMESH_Pattern::Load (SMESH_Mesh* theMesh,
{
// new wire begins; put wire EDGEs in eVec
list<TopoDS_Edge>::iterator eEnd = elIt;
+ if ( iE == *nbEinW )
+ ++nbEinW;
std::advance( eEnd, *nbEinW );
eVec.assign( elIt, eEnd );
- if ( iE > 0 )
- ++nbEinW;
iE = 0;
}
TopoDS_Edge & edge = *elIt;