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);