Skip to content

Commit eceec19

Browse files
author
Changhwan Choi
committed
Megalinter
1 parent 5eb36c1 commit eceec19

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎PWGJE/TableProducer/jetGnnInference.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ struct JetGnnInferenceTask {
199199
if (jet.pt() < jetpTMin) {
200200
return;
201201
}
202-
float dbRange = -0.5;
202+
float dbRange;
203203
if (db < dbMin) {
204204
dbRange = 0.5; // underflow
205205
} else if (db < dbMax) {
@@ -379,7 +379,7 @@ struct JetGnnInferenceTask {
379379
std::vector<Ort::Value> gnnInput;
380380
tensorAlloc.getGNNInput(jetFeat, trkFeat, feat, gnnInput);
381381

382-
float db = invalidGnnScore;
382+
float db;
383383
if (trackScores) {
384384
// Exported head order: edge_outputs, node_outputs, flav_preds.
385385
// Retrieve jet and track logits in one model evaluation; leave edges unused.

0 commit comments

Comments
 (0)