Skip to content

Commit 5e4e4c0

Browse files
committed
fix code-checks
1 parent 2de425b commit 5e4e4c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RecoBTag/ONNXRuntime/interface/tensor_fillers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ namespace btagbtvdeep {
5959
*ptr = inputs[i];
6060
++ptr;
6161
}
62-
if (inputs.size() > 0)
62+
if (!inputs.empty())
6363
--ptr;
6464
assert(start + parT::N_InputFeatures.at(ifeature) - 1 == ptr);
6565
}
@@ -98,7 +98,7 @@ namespace btagbtvdeep {
9898
*ptr = inputs[i];
9999
++ptr;
100100
}
101-
if (inputs.size() > 0)
101+
if (!inputs.empty())
102102
--ptr;
103103
assert(start + UparT::N_InputFeatures.at(ifeature) - 1 == ptr);
104104
}

0 commit comments

Comments
 (0)