mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00: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() << "> : ";
|
||||
int i;
|
||||
for (i = 0; i < 7; ++i) OS << myNodes[i] << ",";
|
||||
OS << myNodes[7]<< ") " << endl;
|
||||
for (i = 0; i < NbNodes(); ++i) OS << myNodes[i] << ",";
|
||||
OS << myNodes[NbNodes()-1]<< ") " << endl;
|
||||
}
|
||||
|
||||
int SMDS_VolumeOfNodes::NbFaces() const
|
||||
|
Loading…
Reference in New Issue
Block a user