#include "SMDS_UnstructuredGrid.hxx"
#include <vtkCellType.h>
+#include <climits>
+
using namespace std;
//=======================================================================
void SMDS_MeshElementIDFactory::updateMinMax() const
{
- myMin = IntegerLast();
+ myMin = INT_MAX;
myMax = 0;
for (int i = 0; i < myMesh->myCells.size(); i++)
{
myMin = id;
}
}
- if (myMin == IntegerLast())
+ if (myMin == INT_MAX)
myMin = 0;
}