From 47e876676d669fed6615392e614a3ff4441a57ef Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 19 Feb 2018 13:30:58 +0300 Subject: [PATCH] Fix regression of doc/salome/examples/transforming_meshes_ex11.py --- src/SMESH_I/SMESH_MeshEditor_i.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_MeshEditor_i.cxx b/src/SMESH_I/SMESH_MeshEditor_i.cxx index 72ce66df6..d7afbed39 100644 --- a/src/SMESH_I/SMESH_MeshEditor_i.cxx +++ b/src/SMESH_I/SMESH_MeshEditor_i.cxx @@ -5658,7 +5658,7 @@ SMESH_MeshEditor_i::DoubleElements(SMESH::SMESH_IDSource_ptr theElements, { SMESHDS_Group* groupDS = static_cast< SMESHDS_Group* >( group_i->GetGroupDS() ); const SMESH_SequenceOfElemPtr& aSeq = getEditor().GetLastCreatedElems(); - for ( size_t i = 0; i <= aSeq.size(); i++ ) + for ( size_t i = 0; i < aSeq.size(); i++ ) groupDS->SMDSGroup().Add( aSeq[i] ); } } -- 2.39.2