mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 01:30:34 +05:00
shorten code
This commit is contained in:
parent
188c7b742c
commit
fd1dc99bb5
@ -1048,8 +1048,7 @@ bool StdMeshers_Regular_1D::Evaluate(SMESH_Mesh & theMesh,
|
||||
ASSERT(!VFirst.IsNull());
|
||||
ASSERT(!VLast.IsNull());
|
||||
|
||||
std::vector<int> aVec(SMDSEntity_Last);
|
||||
for(int i=SMDSEntity_Node; i<SMDSEntity_Last; i++) aVec[i] = 0;
|
||||
std::vector<int> aVec(SMDSEntity_Last,0);
|
||||
|
||||
if (!Curve.IsNull()) {
|
||||
list< double > params;
|
||||
|
Loading…
Reference in New Issue
Block a user