From 95f31e3a95f3c9f5ab427af08a0634e78fd34494 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 24 Mar 2009 08:29:44 +0000 Subject: [PATCH] fix the previous modification - std::swap( iAfterSame, iAfterSame ); + std::swap( iBeforeSame, iAfterSame ); --- src/SMESH/SMESH_MeshEditor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 3e51f4a93..c2584ba86 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -2829,7 +2829,7 @@ void SMESH_MeshEditor::sweepElement(const SMDS_MeshElement* elem, i0 = 2; i2 = 0; if ( nbSame > 0 ) - std::swap( iAfterSame, iAfterSame ); + std::swap( iBeforeSame, iAfterSame ); } // make new elements -- 2.39.2