Skip to content
Snippets Groups Projects
Commit bbd82870 authored by Martin Bauer's avatar Martin Bauer
Browse files

[BUGFIX] FlagField::getCellsWhereMaskIsSet wrong iterator called

 function was apparently never used
parent d32ef78c
Branches
Tags
No related merge requests found
......@@ -148,7 +148,7 @@ namespace field {
//check that mask contains only registered bits
WALBERLA_ASSERT( ! ( mask & (~ data_->usedMask) ));
for( auto i = this->beginInner(); i != this->end(); ++i)
for( auto i = this->begin(); i != this->end(); ++i)
if(*i & mask )
cv.push_back(Cell(i.x(),i.y(), i.z() ));
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment