mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 09:40:35 +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(!VFirst.IsNull());
|
||||||
ASSERT(!VLast.IsNull());
|
ASSERT(!VLast.IsNull());
|
||||||
|
|
||||||
std::vector<int> aVec(SMDSEntity_Last);
|
std::vector<int> aVec(SMDSEntity_Last,0);
|
||||||
for(int i=SMDSEntity_Node; i<SMDSEntity_Last; i++) aVec[i] = 0;
|
|
||||||
|
|
||||||
if (!Curve.IsNull()) {
|
if (!Curve.IsNull()) {
|
||||||
list< double > params;
|
list< double > params;
|
||||||
|
Loading…
Reference in New Issue
Block a user