From: eap Date: Fri, 22 Jan 2010 11:37:48 +0000 (+0000) Subject: shorten code X-Git-Tag: PARAVIS_29012010~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fd1dc99bb5d629b0158853712eed11bc513e514c;p=modules%2Fsmesh.git shorten code --- diff --git a/src/StdMeshers/StdMeshers_Regular_1D.cxx b/src/StdMeshers/StdMeshers_Regular_1D.cxx index c3e86a98d..477b809f9 100644 --- a/src/StdMeshers/StdMeshers_Regular_1D.cxx +++ b/src/StdMeshers/StdMeshers_Regular_1D.cxx @@ -1048,8 +1048,7 @@ bool StdMeshers_Regular_1D::Evaluate(SMESH_Mesh & theMesh, ASSERT(!VFirst.IsNull()); ASSERT(!VLast.IsNull()); - std::vector aVec(SMDSEntity_Last); - for(int i=SMDSEntity_Node; i aVec(SMDSEntity_Last,0); if (!Curve.IsNull()) { list< double > params;