diff options
author | Antonio Sanchez <cantonios@google.com> | 2020-12-03 11:27:29 -0800 |
---|---|---|
committer | Antonio Sanchez <cantonios@google.com> | 2020-12-03 11:27:32 -0800 |
commit | eb4d4ae07091dabfd5ae710ed5ca378d4e845bbd (patch) | |
tree | 7caf2eae86aadcbc24e2e2738e106655b3c5729a /test/main.h | |
parent | 71c85df4c1ce4efa41bb4adc8e9cb224c3ca9a2d (diff) |
Include chrono in main for c++11.
Hack to fix tensor tests, since min/max are overridden by `main.h`.
Diffstat (limited to 'test/main.h')
-rw-r--r-- | test/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/main.h b/test/main.h index e830d68b0..4f9887c81 100644 --- a/test/main.h +++ b/test/main.h @@ -47,6 +47,7 @@ #include <list> #if __cplusplus >= 201103L #include <random> +#include <chrono> #ifdef EIGEN_USE_THREADS #include <future> #endif |