Skip to content

Commit

Permalink
remove an unreachable line of code
Browse files Browse the repository at this point in the history
  • Loading branch information
perrotta committed Apr 14, 2021
1 parent 4c08b82 commit df7e292
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions RecoBTag/FeatureTools/src/deep_helpers.cc
Expand Up @@ -21,10 +21,9 @@ namespace btagbtvdeep {
const float catch_infs(const float in, const float replace_value) {
if (edm::isNotFinite(in))
return replace_value;
else if (in < -1e32 || in > 1e32)
if (in < -1e32 || in > 1e32)
return replace_value;
return in;
return replace_value;
}

// remove infs/NaN and bound (adapted from DeepNTuples)
Expand Down

0 comments on commit df7e292

Please sign in to comment.