Skip to content
Snippets Groups Projects

constructor call of FieldVector corrected in convectionDiffusionOperator

Merged Praetorius, Simon requested to merge issue/convection_diffusion into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -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_;
Loading