Skip to content

Commit

Permalink
Merge pull request #29 from isuruf/patch-1
Browse files Browse the repository at this point in the history
Define isinf(RR) in NTL namespace
  • Loading branch information
JohnCremona committed Sep 21, 2017
2 parents 7a97071 + 54549c6 commit 7643059
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libsrc/eclib/interface.h
Expand Up @@ -161,8 +161,7 @@ inline int is_approx_zero(const RR& x)
}
} // namespace NTL
#ifdef _LIBCPP_VERSION
namespace std {
inline namespace __1 {
namespace NTL {
inline bool isinf(const RR& z) {
return false;
}
Expand All @@ -182,8 +181,7 @@ inline RR fmax(const RR& x, const RR& y)
{
return x < y ? y : x;
}
}
}
} // namespace NTL
#endif

#include <complex>
Expand Down

0 comments on commit 7643059

Please sign in to comment.