Skip to content

Commit f8925e4

Browse files
committed
add cmath for same bug: [LWG2192](https://cplusplus.github.io/LWG/issue2192) for std::abs on MacOS
1 parent 4025aa9 commit f8925e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

machine_learning/adaline_learning.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@
2222

2323
#include <cassert>
2424
#include <climits>
25-
#include <cstdlib>
2625
#include <ctime>
2726
#include <iostream>
2827
#include <vector>
28+
#include <cmath>
29+
#include <cstdlib>
2930

3031
#define MAX_ITER 500 // INT_MAX ///< Maximum number of iterations to learn
3132

0 commit comments

Comments
 (0)