Commit 404d32d7 authored by Lukas Riedel's avatar Lukas Riedel 🎧
Browse files

Merge branch '91-bug-in-the-rectangulargrid-getbctime-method' into 'master'

Resolve "Bug in the `RectangularGrid::getBCtime()` method."

Closes #91

See merge request !83

(cherry picked from commit 2c0f1bc1)
parent 04ef53a2
...@@ -272,7 +272,7 @@ namespace Dorie{ ...@@ -272,7 +272,7 @@ namespace Dorie{
{ {
auto it=bcTimeStamps.begin(); auto it=bcTimeStamps.begin();
unsigned int n=0; unsigned int n=0;
while(*it<=time && it!=bcTimeStamps.end()){ while(it!=bcTimeStamps.end() && *it<=time){
it++; n++; it++; n++;
} }
return n-1; 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