Skip to content

Commit c931fec

Browse files
committed
[Common] Remove redundant vertex-fit success check
1 parent 088646b commit c931fec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Common/Core/MftMchMatching.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2673,7 +2673,7 @@ struct MatchingInference {
26732673
return !c.cfgRequireDimuonVertexSuccess.value && !active;
26742674
}
26752675
const bool lxyCut = limits[5][0] > -1.e30 || limits[5][1] < 1.e30;
2676-
return v.success && nonnegativeRange(v.dca, limits[0]) && nonnegativeRange(v.xy, limits[1]) &&
2676+
return nonnegativeRange(v.dca, limits[0]) && nonnegativeRange(v.xy, limits[1]) &&
26772677
nonnegativeRange(std::abs(v.dz), limits[2]) && nonnegativeRange(v.distance, limits[3]) &&
26782678
nonnegativeRange(v.objective, limits[4]) && v.dz >= limits[6][0] && v.dz <= limits[6][1] &&
26792679
(!lxyCut || (std::isfinite(v.lxy) && v.lxy >= limits[5][0] && v.lxy <= limits[5][1]));

0 commit comments

Comments
 (0)