Neurocorrelates causes MABE build to fail on Mac
alackles opened this issue · 1 comments
alackles commented
When building MABE with neurocorrelates on MacOS, the following error is thrown:
./Analyze/neurocorrelates.cpp:11:7: error: no member named 'log2' in namespace 'std'; did you mean '::log2'?
The issue seems to be log2
and pow
are not valid members of the std
namespace. Since include <math.h>
is declared, deleting the following line fixes the issue with no further errors:
11: using std::log2; using std::pow;