mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
Fix bug. Was always printing 8 nodes
This commit is contained in:
parent
7124ef481e
commit
aa64a62c43
@ -101,8 +101,8 @@ void SMDS_VolumeOfNodes::Print(ostream & OS) const
|
|||||||
{
|
{
|
||||||
OS << "volume <" << GetID() << "> : ";
|
OS << "volume <" << GetID() << "> : ";
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < 7; ++i) OS << myNodes[i] << ",";
|
for (i = 0; i < NbNodes(); ++i) OS << myNodes[i] << ",";
|
||||||
OS << myNodes[7]<< ") " << endl;
|
OS << myNodes[NbNodes()-1]<< ") " << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
int SMDS_VolumeOfNodes::NbFaces() const
|
int SMDS_VolumeOfNodes::NbFaces() const
|
||||||
|
Loading…
Reference in New Issue
Block a user