diff options
-rw-r--r-- | problem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/problem.cpp b/problem.cpp index 34469c7..664afb3 100644 --- a/problem.cpp +++ b/problem.cpp @@ -66,7 +66,7 @@ bool hilare_a_mvt::intersects(const obstacle &o) const { return false; } - if (o.c.r >= segment(from.pos(),to.pos).dist(o.c.c))return true ; + if (o.c.r >= segment(from.pos(),to.pos()).dist(o.c.c))return true ; return false; } |