From aea127d1af04cbf4306a13c94c9c0608b7b40de7 Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Wed, 31 Mar 2021 12:07:14 -0400 Subject: Update task.cpp --- Sem. 05/task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Sem. 05/task.cpp') diff --git a/Sem. 05/task.cpp b/Sem. 05/task.cpp index 589cc61..922e889 100644 --- a/Sem. 05/task.cpp +++ b/Sem. 05/task.cpp @@ -133,7 +133,7 @@ public: return Interval(newA, newB); } - bool isSubInterval(const Interval& other) const + bool isSuperInterval(const Interval& other) const { return a <= other.getA() && b >= other.getB(); } -- cgit v1.3.1-23-gd82d