Skip to content
Snippets Groups Projects
Commit ed1733de authored by Oliver Sander's avatar Oliver Sander
Browse files

removed int by unsigned int to avoid compiler warning

[[Imported from SVN: r2661]]
parent eb841cf3
No related branches found
No related tags found
No related merge requests found
......@@ -33,8 +33,8 @@ void Dune::AmiraMeshWriter<GridType>::writeGrid(const GridType& grid,
int noOfNodes = leafIndexSet.size(dim, vertex);
/** \todo This sucks. I want a size method that gives me the number of
all element types */
int noOfElem = 0; //grid.size(level, 0);
for (int i=0; i<leafIndexSet.geomtypes().size(); i++)
int noOfElem = 0;
for (unsigned int i=0; i<leafIndexSet.geomtypes().size(); i++)
noOfElem += leafIndexSet.size(0, leafIndexSet.geomtypes()[i]);
// create amiramesh object
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment