Skip to content
Snippets Groups Projects
Commit d80fecc4 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Use VectorType::value_type::field_type instead of VectorType::field_type

BlockVectors should have both, but the former allows also std::vector<FieldVector>

[[Imported from SVN: r12353]]
parent 05b62c59
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
template <class VectorType, class BitVectorType = Dune::BitSetVector<VectorType::block_type::dimension> >
class IterativeSolver : public Solver
{
typedef typename VectorType::field_type field_type;
typedef typename VectorType::value_type::field_type field_type;
// For complex-valued data
typedef typename Dune::FieldTraits<field_type>::real_type real_type;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment