diff --git a/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQConfig.hpp b/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQConfig.hpp index a6515cf2d..6f90e3bd8 100644 --- a/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQConfig.hpp +++ b/opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQConfig.hpp @@ -87,7 +87,7 @@ namespace Opm { serializer.map(m_assignments); serializer(units); input_index.serializeOp(serializer); - serializer(type_count); + serializer.template map(type_count); // The UDQFunction table is constant up to udq_params. // So we can just construct a new instance here. if (!serializer.isSerializing())