Commit 2ea09e61 authored by Elias Pipping's avatar Elias Pipping
Browse files

Use std traits

parent 0e710a34
#ifndef CONVEX_PROBLEM_HH
#define CONVEX_PROBLEM_HH
#include <type_traits>
#include <dune/common/fvector.hh>
#include <dune/common/fmatrix.hh>
......@@ -84,7 +86,7 @@ class ConvexProblem
template<class LRFT = LowRankFactorType>
ConvexProblem(double a, const MatrixType& A, NonlinearityType& phi, const VectorType& f, VectorType& u,
typename Dune::enable_if<
Dune::is_same< DefaultNullOperatorType, LRFT>::value
std::is_same< DefaultNullOperatorType, LRFT>::value
>::type* dummy=0
) :
a(a),
......
Supports Markdown
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