diff options
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h index da9763a3d..1b031b7a1 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h @@ -196,7 +196,7 @@ int get_random_seed() { GetSystemTime(&st); return st.wSecond + 1000 * st.wMilliseconds; #elif defined __APPLE__ - return mach_absolute_time(); + return static_cast<int>(mach_absolute_time()); #else timespec ts; clock_gettime(CLOCK_REALTIME, &ts); |