diff --git a/src/Mesh.cpp b/src/Mesh.cpp index b4f0c7efab..8d8227f23d 100644 --- a/src/Mesh.cpp +++ b/src/Mesh.cpp @@ -279,7 +279,8 @@ void Mesh::scientificDefaults_impl( return auxiliary::createDefaultVector(dimensionality, 1.); }, &Mesh::setGridUnitSIPerDimension) - .withReader(int_types, require_type>())(wor); + .withReader(numerical_types, require_type>())( + wor); } else { diff --git a/src/backend/scientific_defaults/ConfigAttribute.cpp b/src/backend/scientific_defaults/ConfigAttribute.cpp index af8643802d..f530106217 100644 --- a/src/backend/scientific_defaults/ConfigAttribute.cpp +++ b/src/backend/scientific_defaults/ConfigAttribute.cpp @@ -109,7 +109,7 @@ void ConfigAttribute::read() write_to_stderr(attribute) << "'. Expected one of "; auxiliary::write_vec_to_stream( std::cerr, type_unmatched.expectedDatatypes) - << " or convertible to such a type." << std::endl; + << "." << std::endl; }, [&](error::ReadError const &err) { std::cerr << "Unexpected error while trying to read "