Skip to content
Snippets Groups Projects
Commit ac07ec57 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

constructor call of FieldVector corrected in convectionDiffusionOperator

parent 65242abd
No related branches found
No related tags found
1 merge request!74constructor call of FieldVector corrected in convectionDiffusionOperator
...@@ -195,13 +195,13 @@ namespace AMDiS ...@@ -195,13 +195,13 @@ namespace AMDiS
static FieldVector<T,dow> makeB(FieldVector<T,N>&& b) { return std::move(b); } static FieldVector<T,dow> makeB(FieldVector<T,N>&& b) { return std::move(b); }
template <class T> 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> 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> 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: private:
GridFctA gridFctA_; GridFctA gridFctA_;
......
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