Commit ac07ec57 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

constructor call of FieldVector corrected in convectionDiffusionOperator

parent 65242abd
......@@ -195,13 +195,13 @@ namespace AMDiS
static FieldVector<T,dow> makeB(FieldVector<T,N>&& b) { return std::move(b); }
template <class T>
static FieldVector<T,dow> makeB(FieldVector<T,1> const& b) { return {T(b)}; }
static FieldVector<T,dow> makeB(FieldVector<T,1> const& b) { return FieldVector<T,dow>(T(b)); }
template <class T>
static FieldVector<T,dow> makeB(FieldVector<T,1>&& b) { return {T(b)}; }
static FieldVector<T,dow> makeB(FieldVector<T,1>&& b) { return FieldVector<T,dow>(T(b)); }
template <class T, std::enable_if_t<std::is_arithmetic<T>::value, int> = 0>
static FieldVector<T,dow> makeB(T b) { return {b}; }
static FieldVector<T,dow> makeB(T b) { return FieldVector<T,dow>(b); }
private:
GridFctA gridFctA_;
......
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