From 5ed3144969004c05efc562d604a361472ae5793f Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sun, 26 Jan 2025 15:22:53 +0300 Subject: [PATCH] Restored the original static assert check. --- test/permutation_iterator_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/permutation_iterator_test.cpp b/test/permutation_iterator_test.cpp index db601e8..5f17072 100644 --- a/test/permutation_iterator_test.cpp +++ b/test/permutation_iterator_test.cpp @@ -43,7 +43,7 @@ void permutation_test() const int element_range_size = 10; const int index_size = 7; - static_assert(index_size < element_range_size, "The permutation of some elements is checked."); + static_assert(index_size <= element_range_size, "The permutation of some elements is checked."); element_range_type elements( element_range_size ); for( element_range_type::iterator el_it = elements.begin(); el_it != elements.end(); ++el_it )