diff --git a/src/sys/options.cxx b/src/sys/options.cxx index f1f0efbf16..0c154257f2 100644 --- a/src/sys/options.cxx +++ b/src/sys/options.cxx @@ -979,6 +979,7 @@ struct GetDimensions { std::vector operator()([[maybe_unused]] BoutReal value) { return {1}; } std::vector operator()([[maybe_unused]] const std::string& value) { return {1}; } std::vector operator()(const Array& array) { return {array.size()}; } + std::vector operator()(const Array& array) { return {array.size()}; } std::vector operator()(const Matrix& array) { const auto shape = array.shape(); return {std::get<0>(shape), std::get<1>(shape)};