mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-17 07:09:37 +08:00
Fix GPU+clang+asan.
This commit is contained in:
parent
fee5d60b50
commit
a2cf99ec6f
@ -612,11 +612,7 @@ struct pminmax_impl<PropagateNumbers> {
|
||||
}
|
||||
};
|
||||
|
||||
#ifndef SYCL_DEVICE_ONLY
|
||||
#define EIGEN_BINARY_OP_NAN_PROPAGATION(Type, Func) Func
|
||||
#else
|
||||
#define EIGEN_BINARY_OP_NAN_PROPAGATION(Type, Func) [](const Type& a, const Type& b) { return Func(a, b); }
|
||||
#endif
|
||||
|
||||
/** \internal \returns the min of \a a and \a b (coeff-wise).
|
||||
If \a a or \b b is NaN, the return value is implementation defined. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user