Commit 0fd798b9 authored by Lukas Weber's avatar Lukas Weber

Merge branch 'master' into 'master'

Changed default argument in observable.h: one can use intel compiler now

See merge request !1
parents ee5e5b87 a87e4e69
...@@ -44,7 +44,7 @@ private: ...@@ -44,7 +44,7 @@ private:
std::vector<double> samples_; std::vector<double> samples_;
}; };
template<class T, std::enable_if_t<std::is_arithmetic_v<std::remove_reference_t<T>>> * = nullptr> template<class T, std::enable_if_t<std::is_arithmetic_v<std::remove_reference_t<T>>> *>
void observable::add(T val) { void observable::add(T val) {
add(std::array<T, 1>{val}); add(std::array<T, 1>{val});
} }
......
Markdown is supported
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