Closed ankane closed 2 years ago
~Thanks for spotting it. However I'd prefer to include the <cmath>
header instead since some users have reported compilation issues when mixing C headers - could you modify it?~ Sorry, had misread math
header, now I noticed it already included cmath
, merged it.
Great, thanks!
If you move
#include "isotree.hpp"
to the top ofexample/isotree_cpp_ex.cpp
and try to compile, it'll error with:This PR adds
cmath
, whereHUGE_VAL
is defined: https://en.cppreference.com/w/cpp/numeric/math/HUGE_VAL