diff --git a/common/interpolation/include/interpolation/interpolation_utils.hpp b/common/interpolation/include/interpolation/interpolation_utils.hpp index d170007685bbf..cbd30ec945ae6 100644 --- a/common/interpolation/include/interpolation/interpolation_utils.hpp +++ b/common/interpolation/include/interpolation/interpolation_utils.hpp @@ -43,7 +43,7 @@ inline bool isNotDecreasing(const std::vector & x) } for (size_t i = 0; i < x.size() - 1; ++i) { - if (x.at(i) > x.at(i + 1)) { + if (x.at(i) >= x.at(i + 1)) { return false; } }