Commit ec55785e authored by Artur Wojcik's avatar Artur Wojcik
Browse files

fix compilation after merge

parent cab91417
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
namespace migraphx { namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS { inline namespace MIGRAPHX_INLINE_NS {
MIGRAPHX_EXPORT
const operation& get_operation(instruction_ref ins); const operation& get_operation(instruction_ref ins);
struct module_impl; struct module_impl;
......
...@@ -35,7 +35,7 @@ struct isinf : unary<isinf> ...@@ -35,7 +35,7 @@ struct isinf : unary<isinf>
{ {
auto apply() const 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"; } 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