Skip to content

Commit f5a33d3

Browse files
committed
Disable macro expansion and force the compiler to use ADL
Signed-off-by: Omar Shrit <[email protected]>
1 parent d8cdc5e commit f5a33d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mlpack/methods/ann/activation_functions/rectifier_function.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
#ifndef MLPACK_METHODS_ANN_ACTIVATION_FUNCTIONS_RECTIFIER_FUNCTION_HPP
2424
#define MLPACK_METHODS_ANN_ACTIVATION_FUNCTIONS_RECTIFIER_FUNCTION_HPP
25-
25+
#undef max
2626
#include <mlpack/prereqs.hpp>
2727
#include <algorithm>
2828

0 commit comments

Comments
 (0)