Commit 2c0f1bc1 authored by Lukas Riedel's avatar Lukas Riedel

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

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

Closes #91

See merge request !83
parents 43cc4607 353138b4
......@@ -31,6 +31,8 @@
* Grid adaptation is skipped after computing the final solution.
* Path to Pipeline artifacts for `test` stage. The artifacts are now correctly
captured and can be viewed and downloaded from the GitLab web interface.
* Fix a bug in the boundary condition evaluation where an `end()` iterator
was dereferenced without error.
## 1.1.0 (2018-07-27)
......
......@@ -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