Closed shleym2000 closed 1 month ago
The FLT_MAX constant introduced in the https://github.com/Artelnics/opennn/blob/c11dd80e0095a91537690f895f4bc424236e4f1c/opennn/neurons_selection.h#L240 causes compiling error at least in Visual Studio, because it matches the existing Macros and it is being immediately substituted with the numeric value of that macro
Current line:
int FLT_MAX=10; //alvaros It should have a different name, for example THE_FLT_MAX.
int FLT_MAX=10; //alvaros
int THE_FLT_MAX=10; //alvaros Or better yet, since it is a static constant, we'd better make it a "static const" like
int THE_FLT_MAX=10; //alvaros
static const int THE_FLT_MAX=10; //alvaros
It seems they've stop working on this project. Check out https://github.com/rkuang9/flare
The FLT_MAX constant introduced in the https://github.com/Artelnics/opennn/blob/c11dd80e0095a91537690f895f4bc424236e4f1c/opennn/neurons_selection.h#L240 causes compiling error at least in Visual Studio, because it matches the existing Macros and it is being immediately substituted with the numeric value of that macro
Current line:
int FLT_MAX=10; //alvaros
It should have a different name, for example THE_FLT_MAX.int THE_FLT_MAX=10; //alvaros
Or better yet, since it is a static constant, we'd better make it a "static const" likestatic const int THE_FLT_MAX=10; //alvaros