Skip to content

Commit

Permalink
Remove obsolete destructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Dec 16, 2022
1 parent cb4c517 commit ce1a224
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion L1Trigger/Phase2L1ParticleFlow/interface/TauNNId.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class TauNNId {
const tensorflow::Session *session,
const std::string &iWeightFile,
int iNParticles);
~TauNNId();
~TauNNId(){};

void setNNVectorVar();
float EvaluateNN();
Expand Down
2 changes: 0 additions & 2 deletions L1Trigger/Phase2L1ParticleFlow/src/TauNNId.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ TauNNId::TauNNId(const std::string &iInput,
fInput_ = iInput;
}

TauNNId::~TauNNId() { tensorflow::closeSession(session_); }

void TauNNId::setNNVectorVar() {
NNvectorVar_.clear();
for (int i0 = 0; i0 < fNParticles_; i0++) {
Expand Down

0 comments on commit ce1a224

Please sign in to comment.