iterators are hard
This commit is contained in:
1 parent
419cac3e3d
commit
1192182bc8
2 files changed
+2
-2
No files matched your search
@@ -188,7 +188,7 @@ struct Range
|
||||
}
|
||||
range_iterator<T> end()
|
||||
{
|
||||
auto end = range_iterator<T>(*this, nrows()-1, 1);
|
||||
auto end = range_iterator<T>(*this, nrows(), 0);
|
||||
return end;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -188,7 +188,7 @@ struct Range
|
||||
}
|
||||
range_iterator<T> end()
|
||||
{
|
||||
auto end = range_iterator<T>(*this, nrows()-1, 1);
|
||||
auto end = range_iterator<T>(*this, nrows(), 0);
|
||||
return end;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user