Skip to content

Commit

Permalink
Merge pull request cms-sw#263 from areinsvo/fixHighPt
Browse files Browse the repository at this point in the history
Better temporary fix for negative covariance matrix entries
  • Loading branch information
osschar committed Mar 4, 2020
2 parents 93f38fb + db0c369 commit 5b8e75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Track.cc
Expand Up @@ -92,7 +92,7 @@ bool TrackBase::hasSillyValues(bool dump, bool fix, const char* pref)
if (dump) printf("%s (label=%d):", pref, label());
}
if (dump) printf(" (%d,%d)=%e", i, j, state_.errors.At(i,j));
if (fix) state_.errors.At(i,j) = 1;
if (fix) state_.errors.At(i,j) = 0.00001;
}
}
}
Expand Down

0 comments on commit 5b8e75f

Please sign in to comment.