Skip to content
Snippets Groups Projects
Commit d3b99f81 authored by Patrick Jaap's avatar Patrick Jaap
Browse files

MultiTypeBlockVector: adapt FieldTraits to the new field_type

parent 7ab2ab3a
No related branches found
No related tags found
1 merge request!460MultiTypeBlockVector: Use std::common_type for field_type
......@@ -36,11 +36,11 @@ namespace Dune {
/** @addtogroup DenseMatVec
@{
*/
template <typename Arg0, typename... Args>
struct FieldTraits< MultiTypeBlockVector<Arg0, Args...> >
template <typename... Args>
struct FieldTraits< MultiTypeBlockVector<Args...> >
{
typedef typename FieldTraits<Arg0>::field_type field_type;
typedef typename FieldTraits<Arg0>::real_type real_type;
using field_type = typename MultiTypeBlockVector<Args...>::field_type;
using real_type = typename FieldTraits<field_type>::real_type;
};
/**
@}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment