From 88534ba623421c956d8ffcda2d27f41d704d15ef Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 3 Jul 2018 07:37:12 +0200 Subject: update eigen --- .../unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'eigen/unsupported/Eigen/src/SpecialFunctions') diff --git a/eigen/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h b/eigen/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h index 369ad97..f524d71 100644 --- a/eigen/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +++ b/eigen/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h @@ -122,8 +122,8 @@ struct lgamma_impl { EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE float run(float x) { #if !defined(__CUDA_ARCH__) && (defined(_BSD_SOURCE) || defined(_SVID_SOURCE)) && !defined(__APPLE__) - int dummy; - return ::lgammaf_r(x, &dummy); + int signgam; + return ::lgammaf_r(x, &signgam); #else return ::lgammaf(x); #endif @@ -135,8 +135,8 @@ struct lgamma_impl { EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE double run(double x) { #if !defined(__CUDA_ARCH__) && (defined(_BSD_SOURCE) || defined(_SVID_SOURCE)) && !defined(__APPLE__) - int dummy; - return ::lgamma_r(x, &dummy); + int signgam; + return ::lgamma_r(x, &signgam); #else return ::lgamma(x); #endif -- cgit v1.2.3