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