Commit a87e4e69 authored by Nils Caci's avatar Nils Caci

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

parent d515c67c
......@@ -44,7 +44,7 @@ private:
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) {
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