Skip to content
Snippets Groups Projects
Commit a76fcf7a authored by Henrik Asmuth's avatar Henrik Asmuth
Browse files

fix for msvc compiler warning

parent 02b13171
No related branches found
No related tags found
1 merge request!170Kernel templetization and efficiency improvements
......@@ -259,9 +259,9 @@ void VTKReader::fillArrays(std::vector<real>& coordsY, std::vector<real>& coords
real posZ = coordsZ[i];
bool foundNT = false, foundNB = false, foundST = false, foundSB = false, foundAll = false;
for(auto level=this->fileCollection->files.size(); level>0; level--) // go backwards to find finest nodes first
for(std::size_t level=this->fileCollection->files.size(); level>0; level--) // go backwards to find finest nodes first
{
for(auto fileId=0; fileId<this->fileCollection->files[level].size(); fileId++)
for(std::size_t fileId=0; fileId<this->fileCollection->files[level].size(); fileId++)
{
VTKFile file = this->fileCollection->files[level][fileId][0];
if(!file.inBoundingBox(posY, posZ, 0.0f)) continue;
......
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