Commit 3250e95b authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos

Merge branch 'fixbug/clean-fsanitazer-run' into '91-bug-in-the-rectangulargrid-getbctime-method'

fixbug: change the order of evaluation of iterator

See merge request !84
parents 43cc4607 9543bae3
......@@ -272,7 +272,7 @@ namespace Dorie{
{
auto it=bcTimeStamps.begin();
unsigned int n=0;
while(*it<=time && it!=bcTimeStamps.end()){
while(it!=bcTimeStamps.end() && *it<=time){
it++; n++;
}
return n-1;
......
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