Commit aaf43fda authored by Felix Gruber's avatar Felix Gruber

fix OptimalTestBasis

It was missing an include and a typename keyword in a typedef.
These bugs weren't found before, as OptimalTestBasis isn't used anymore.
I just found them recently while trying to run some of Angela’s older
programs.
parent edb50304
Pipeline #14743 passed with stage
in 21 minutes and 34 seconds
......@@ -10,6 +10,7 @@
#include <dune/common/exceptions.hh>
#include <dune/common/hybridutilities.hh>
#include <dune/common/reservedvector.hh>
#include <dune/localfunctions/optimaltestfunctions/optimaltest.hh>
#include <dune/localfunctions/optimaltestfunctions/refinedoptimaltest.hh>
......@@ -434,7 +435,7 @@ protected:
* \tparam testIndex index of the optimal test space in the test space tuple
*/
template<typename TestspaceCoefficientMatrix, std::size_t testIndex = 0>
using OptimalTestBasis = std::conditional
using OptimalTestBasis = typename std::conditional
< Dune::is_RefinedFiniteElement<
typename std::tuple_element<testIndex,
typename TestspaceCoefficientMatrix::TestSpaces
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment