Unverified Commit ad1afd58 authored by Artur Wojcik's avatar Artur Wojcik Committed by GitHub
Browse files

fix call to std::isinf() on Windows (#2425)

parent 35e5298e
......@@ -35,7 +35,7 @@ struct isinf : unary<isinf>
{
auto apply() const
{
return [&](auto x) { return std::isinf(x); };
return [&](auto x) { return std::isinf(static_cast<double>(x)); };
}
std::string name() const { return "isinf"; }
......
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