commit | 8a32fa58b17fc573520e3555f371b82f3dbd54f5 | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Tue Mar 29 03:49:29 2022 -0700 |
committer | Antonio Sanchez <cantonios@google.com> | Mon Sep 26 15:57:59 2022 -0700 |
tree | df443d8177bbf71c6d8e4740b65bb253a53bb0f0 | |
parent | d45863633627c4319b6ca7a0fbc7fd89665cd3c2 [diff] |
Internal change PiperOrigin-RevId: 437984955 Change-Id: Ic98b54194b7df185756a374f691e3d1827c275e1
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h b/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h index 5140906..d0048aa 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h
@@ -137,6 +137,7 @@ } eigen_assert(num_distinct_reduce_dims == NumReducedDims); + EIGEN_ONLY_USED_FOR_DEBUG(num_distinct_reduce_dims); // Compute the dimensions of the result. const typename TensorEvaluator<ArgType, Device>::Dimensions& input_dims = m_impl.dimensions();