From 8bd80639bff38860b99e6441ea2995ae019eb84b Mon Sep 17 00:00:00 2001 From: Danilo Piparo Date: Tue, 10 Oct 2023 15:57:41 +0200 Subject: [PATCH] [TMVA] Work around warning about unused variables in non-debug builds. --- tmva/tmva/inc/TMVA/DNN/Architectures/Cpu/CpuTensor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tmva/tmva/inc/TMVA/DNN/Architectures/Cpu/CpuTensor.h b/tmva/tmva/inc/TMVA/DNN/Architectures/Cpu/CpuTensor.h index d8af9daf05049..58f1ec3bdcb34 100644 --- a/tmva/tmva/inc/TMVA/DNN/Architectures/Cpu/CpuTensor.h +++ b/tmva/tmva/inc/TMVA/DNN/Architectures/Cpu/CpuTensor.h @@ -205,6 +205,7 @@ class TCpuTensor : public TMVA::Experimental::RTensor } } assert(ndims <= 2 && shape.size() > 1); // to support shape cases {n,1} + (void) ndims; // avoid warning about unused variable return TCpuMatrix(*(this->GetContainer()), GetHSize(), GetWSize()); }