From e6556b98f643f750c941fcac6e311eaa48ae86b5 Mon Sep 17 00:00:00 2001 From: Luke Roberts Date: Wed, 18 Sep 2024 09:32:00 -0600 Subject: [PATCH] Get IndexRanges to work --- src/basic_types.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/basic_types.hpp b/src/basic_types.hpp index f1f07878a533..16dedfc2f941 100644 --- a/src/basic_types.hpp +++ b/src/basic_types.hpp @@ -41,6 +41,7 @@ using Real = double; struct IndexRange { int s = 0; /// Starting Index (inclusive) int e = 0; /// Ending Index (inclusive) + operator std::pair() const {return {s, e};} }; // Enum speficying whether or not you requested a flux variable in