Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / histogram / test / indexed_test.cpp
index 34d8643..0b09ad2 100644 (file)
@@ -124,7 +124,7 @@ template <class IsDynamic, class Coverage>
 void run_stdlib_tests(mp_list<IsDynamic, Coverage>) {
   auto ax = axis::regular<>(3, 0, 1);
   auto ay = axis::integer<>(0, 2);
-  auto h = make_s(IsDynamic(), std::vector<int>(), ax, ay);
+  auto h = make_s(IsDynamic(), std::array<int, 20>(), ax, ay);
 
   struct generator {
     int i = 0;