aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/functors
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-06-03 00:57:41 +0000
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-06-03 00:57:41 +0000
commitdaf9bbeca26e98da2eed0058835cbb04e0a30ad8 (patch)
treeab997a3a98a70366df53ca3b8ba12943b8abd329 /Eigen/src/Core/functors
parent6d2a9a524bd827ed2d51bb35486c33e2c54c823f (diff)
Fix compilation error in logistic packet op.
Diffstat (limited to 'Eigen/src/Core/functors')
-rw-r--r--Eigen/src/Core/functors/UnaryFunctors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/functors/UnaryFunctors.h b/Eigen/src/Core/functors/UnaryFunctors.h
index 9a81fa365..735d28ac8 100644
--- a/Eigen/src/Core/functors/UnaryFunctors.h
+++ b/Eigen/src/Core/functors/UnaryFunctors.h
@@ -984,7 +984,7 @@ struct scalar_logistic_op<float> {
Packet packetOp(const Packet& _x) const {
const Packet cutoff_lower = pset1<Packet>(-9.f);
const Packet lt_mask = pcmp_lt<Packet>(_x, cutoff_lower);
- const bool any_small = predux(lt_mask);
+ const bool any_small = predux_any(lt_mask);
// The upper cut-off is the smallest x for which the rational approximation evaluates to 1.
// Choosing this value saves us a few instructions clamping the results at the end.