mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-13 08:31:48 +08:00
Eliminate trace unused warning.
(cherry picked from commit 9bc9992dd37e0379be888186a234b7641af306f7)
This commit is contained in:
parent
973b04f3e1
commit
ac78f84b72
@ -134,6 +134,7 @@ struct TensorEvaluator<const TensorTraceOp<Dims, ArgType>, Device>
|
||||
}
|
||||
}
|
||||
|
||||
EIGEN_ONLY_USED_FOR_DEBUG(num_distinct_reduce_dims);
|
||||
eigen_assert(num_distinct_reduce_dims == NumReducedDims);
|
||||
|
||||
// Compute the dimensions of the result.
|
||||
|
Loading…
x
Reference in New Issue
Block a user