Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 05 / task.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Sem. 05/task.cpp2
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();
}