update UDQConfig serialization

to avoid the need for OPM defined types in underlying
serializer
This commit is contained in:
Arne Morten Kvarving 2020-03-18 15:46:28 +01:00
parent 63cbf052d6
commit 524b180102

View File

@ -87,7 +87,7 @@ namespace Opm {
serializer.map(m_assignments);
serializer(units);
input_index.serializeOp(serializer);
serializer(type_count);
serializer.template map<decltype(type_count),false>(type_count);
// The UDQFunction table is constant up to udq_params.
// So we can just construct a new instance here.
if (!serializer.isSerializing())