From 6de546c0d74febd85da87de7edb8d2bbec96ae38 Mon Sep 17 00:00:00 2001 From: Ivan Razumov Date: Wed, 12 Jul 2023 09:50:56 +0200 Subject: [PATCH] Remove const --- RecoMET/METPUSubtraction/plugins/DeepMETProducer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RecoMET/METPUSubtraction/plugins/DeepMETProducer.cc b/RecoMET/METPUSubtraction/plugins/DeepMETProducer.cc index b0c0d0b18c183..967394ff6070a 100644 --- a/RecoMET/METPUSubtraction/plugins/DeepMETProducer.cc +++ b/RecoMET/METPUSubtraction/plugins/DeepMETProducer.cc @@ -45,12 +45,12 @@ DeepMETProducer::DeepMETProducer(const edm::ParameterSet& cfg, const tensorflow: // Workaround for missing constructor TensorShape::TensorShape(absl::Slice), // the constructor expects Slice or initializer_list and is marked explicit - const tensorflow::TensorShape shape; + tensorflow::TensorShape shape; shape.AddDim(1); shape.AddDim(max_n_pf_); shape.AddDim(8); - const tensorflow::TensorShape cat_shape; + tensorflow::TensorShape cat_shape; shape.AddDim(1); shape.AddDim(max_n_pf_); shape.AddDim(1);