FastBDT
FastBDT copied to clipboard
Small fix to compile on Fedora 36
My first attempt to compile got errors like this: Building CXX object CMakeFiles/FastBDT_static.dir/src/FastBDT.cxx.o In file included from /home/msevior/Dropbox/FastBDT_github/FastBDT/src/FastBDT.cxx:5: /home/msevior/Dropbox/FastBDT_github/FastBDT/include/FastBDT.h: In member function ‘Value FastBDT::FeatureBinning<Value>::BinToValue(unsigned int) const’: /home/msevior/Dropbox/FastBDT_github/FastBDT/include/FastBDT.h:215:28: error: ‘numeric_limits’ is not a member of ‘std’ 215 | return -std::numeric_limits<Value>::infinity(); .... This was very simply fixed by adding..
#include <limits>
To FastBDT.h
Now it compiles with 0 errors
Please make this minor change...