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::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::infinity();
....
This was very simply fixed by adding..
#include <limits>
To FastBDT.h
Now it compiles with 0 errors
Please make this minor change...
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::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::infinity();
....
This was very simply fixed by adding..
#include <limits>
To FastBDT.h
Now it compiles with 0 errors
Please make this minor change...