diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-01-06 18:50:28 -0800 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-01-06 18:50:28 -0800 |
commit | 0cb2ca5de216f258cd3106cf18d4aada9064ce13 (patch) | |
tree | f876935de066090da99b4572e5479b0d4fb2af8d /unsupported/Eigen/CXX11/src | |
parent | 213459d81850f98f3822624ae84c1f420f12092c (diff) |
Fixed a typo.
Diffstat (limited to 'unsupported/Eigen/CXX11/src')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h b/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h index 0c95e5c0b..9ec20a99e 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h @@ -234,7 +234,7 @@ struct TensorEvaluator<const TensorBroadcastingOp<Broadcast, ArgType>, Device> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketReturnType packet(Index index) const { if (internal::is_input_scalar<typename internal::remove_all<InputDimensions>::type>::value) { - return m_impl.coeff(0); + return internal::pset1<PacketReturnType>(m_impl.coeff(0)); } if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) { |