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

Merge branch 'issue/convection_diffusion' into 'master'

constructor call of FieldVector corrected in convectionDiffusionOperator

See merge request !74
parents b7dedafe ac07ec57
No related branches found
No related tags found
1 merge request!74constructor call of FieldVector corrected in convectionDiffusionOperator
......@@ -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_;
......
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