Commit ae3282a1 authored by Alois Schlögl's avatar Alois Schlögl

fix compilation error when gcc-9 from homebrew is used on Apple

parent 41dca748
......@@ -159,7 +159,9 @@ void stfnum::fexp_init(const Vector_double& data, double base, double peak, doub
Vector_double peeled( stfio::vec_scal_minus(data, floor));
if (increasing) peeled = stfio::vec_scal_mul(peeled, -1.0);
std::transform(peeled.begin(), peeled.end(), peeled.begin(),
#if defined(_WINDOWS) && !defined(__MINGW32__)
#if defined(__GNUC__)
log);
#elif defined(_WINDOWS)
std::logl);
#elif defined(__APPLE__)
std::logl);
......
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