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

fix for msvc compiler warning

parent a76fcf7a
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 ...@@ -259,9 +259,9 @@ void VTKReader::fillArrays(std::vector<real>& coordsY, std::vector<real>& coords
real posZ = coordsZ[i]; real posZ = coordsZ[i];
bool foundNT = false, foundNB = false, foundST = false, foundSB = false, foundAll = false; bool foundNT = false, foundNB = false, foundST = false, foundSB = false, foundAll = false;
for(std::size_t level=this->fileCollection->files.size(); level>0; level--) // go backwards to find finest nodes first for(int level=(int)this->fileCollection->files.size(); level>0; level--) // go backwards to find finest nodes first
{ {
for(std::size_t fileId=0; fileId<this->fileCollection->files[level].size(); fileId++) for(int fileId=0; fileId<(int)this->fileCollection->files[level].size(); fileId++)
{ {
VTKFile file = this->fileCollection->files[level][fileId][0]; VTKFile file = this->fileCollection->files[level][fileId][0];
if(!file.inBoundingBox(posY, posZ, 0.0f)) continue; 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