Commit c5131f82 authored by Martin Bauer's avatar Martin Bauer Committed by Christian Godenschwager
Browse files

[BUGFIX] FlagField::getCellsWhereMaskIsSet wrong iterator called

 function was apparently never used
parent fc3b1cd0
......@@ -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() ));
}
......
Markdown is supported
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