Commit 17ca0328 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

tentative fix

parent 5eb02148
Pipeline #74460 failed with stages
in 8 minutes and 34 seconds
......@@ -63,6 +63,7 @@ class ES_Kernel
template<typename T> T operator()(T v) const
using std::sqrt;
auto tmp = (1-v)*(1+v);
auto tmp2 = tmp>=0;
return tmp2*exp(T(beta)*(sqrt(tmp*tmp2)-1));
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