diff --git a/src/tallies/filter_time.cpp b/src/tallies/filter_time.cpp index 6d3b9ab78f..fc626873b9 100644 --- a/src/tallies/filter_time.cpp +++ b/src/tallies/filter_time.cpp @@ -27,7 +27,7 @@ void TimeFilter::set_bins(gsl::span bins) bins_.reserve(bins.size()); // Ensure time bins are sorted - if (!std::is_sorted(bins.cbegin(), bins.cend(), std::less_equal())) { + if (!std::is_sorted(bins.cbegin(), bins.cend())) { throw std::runtime_error {"Time bins must be monotonically increasing."}; }