diff options
Diffstat (limited to 'src/2geom/path.cpp')
| -rw-r--r-- | src/2geom/path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/path.cpp b/src/2geom/path.cpp index 2e2bce9f1..3288eb4f6 100644 --- a/src/2geom/path.cpp +++ b/src/2geom/path.cpp @@ -455,7 +455,7 @@ Coord Path::valueAt(PathTime const &pos, Dim2 d) const std::vector<PathTime> Path::roots(Coord v, Dim2 d) const { std::vector<PathTime> res; - for (unsigned i = 0; i <= size(); i++) { + for (unsigned i = 0; i < size(); i++) { std::vector<Coord> temp = (*this)[i].roots(v, d); for (unsigned j = 0; j < temp.size(); j++) res.push_back(PathTime(i, temp[j])); |
