From fd1dc99bb5d629b0158853712eed11bc513e514c Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 22 Jan 2010 11:37:48 +0000 Subject: [PATCH] shorten code --- src/StdMeshers/StdMeshers_Regular_1D.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.2