TensorConvolution: fix deprecated-enum-enum-conversion warning on gcc-13 libeigen/eigen!2469 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
diff --git a/unsupported/Eigen/src/Tensor/TensorConvolution.h b/unsupported/Eigen/src/Tensor/TensorConvolution.h index 0d0ec25..edce942 100644 --- a/unsupported/Eigen/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/src/Tensor/TensorConvolution.h
@@ -750,8 +750,8 @@ static constexpr int Layout = TensorEvaluator<InputArgType, GpuDevice>::Layout; enum { - IsAligned = - TensorEvaluator<InputArgType, GpuDevice>::IsAligned & TensorEvaluator<KernelArgType, GpuDevice>::IsAligned, + IsAligned = int(TensorEvaluator<InputArgType, GpuDevice>::IsAligned) & + int(TensorEvaluator<KernelArgType, GpuDevice>::IsAligned), PacketAccess = false, BlockAccess = false, PreferBlockAccess = false,