Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2dcfacbf authored by Quentin Khan's avatar Quentin Khan
Browse files

Costzones zone bounds modified to hold the firstindex of a zone and its cell count.

parent 4153e622
No related branches found
No related tags found
No related merge requests found
......@@ -187,8 +187,11 @@ private:
// Zone bounds update
if( _zonebounds.back()[_it.level()] == std::pair<int,int>(-1,-1) ) {
_zonebounds.back()[_it.level()].first = _it.getCurrentGlobalIndex();
_zonebounds.back()[_it.level()].second = 1;
} else {
_zonebounds.back()[_it.level()].second = _it.getCurrentGlobalIndex();
_zonebounds.back()[_it.level()].second++;
// This was to keep the end index
// _zonebounds.back()[_it.level()].second = _it.getCurrentGlobalIndex();
}
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment