diff options
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | Sem. 05/task.cpp | 2 |
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();
}
|
