From ee9468283bcf3eecb419319cd845f267f8644211 Mon Sep 17 00:00:00 2001 From: wvpm <24685035+wvpm@users.noreply.github.com> Date: Fri, 21 Nov 2025 20:57:50 +0100 Subject: [PATCH] Fix TypedSpan size bug --- src/openvic-simulation/types/TypedSpan.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvic-simulation/types/TypedSpan.hpp b/src/openvic-simulation/types/TypedSpan.hpp index 957f31aa..f59730e8 100644 --- a/src/openvic-simulation/types/TypedSpan.hpp +++ b/src/openvic-simulation/types/TypedSpan.hpp @@ -18,7 +18,7 @@ namespace OpenVic { using utility::forwardable_span::forwardable_span; constexpr IndexType size() const { - return IndexType(std::span::size()); + return IndexType(utility::forwardable_span::size()); } constexpr utility::forwardable_span::reference operator[](const IndexType _Off) const {