diff --git a/include/realizations/coastal/CoastalFormulation.hpp b/include/realizations/coastal/CoastalFormulation.hpp index 260ab15140..37b3fd04f4 100644 --- a/include/realizations/coastal/CoastalFormulation.hpp +++ b/include/realizations/coastal/CoastalFormulation.hpp @@ -42,7 +42,7 @@ class CoastalFormulation : public data_access::DataProvider>(selector.points); + auto* points = boost::get>(&selector.points); size_t size = points ? points->size() : this->mesh_size(selector.variable_name); return size; }