You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
The text was updated successfully, but these errors were encountered:
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...
The text was updated successfully, but these errors were encountered: