Skip to content
Snippets Groups Projects
Commit 0ca923a4 authored by Goetz Gaycken's avatar Goetz Gaycken Committed by Graeme Stewart
Browse files

Fix stack overflow reported in ATLASRECTS-2054. (TrkVertexFitterUtils-01-01-20)

parent 55b5c5d2
No related branches found
No related tags found
No related merge requests found
......@@ -302,8 +302,8 @@ namespace Trk
{
msg(MSG::WARNING) << " The contribution to z0_err: " << vrtZZCov << " from PV is negative: critical error in PV error matrix! Removing contribution from PV ... " << endreq;
newIPandSigma->IPz0SinTheta=z0*sin(theta);
newIPandSigma->sigmaz0SinTheta=
sqrt(IPz0JacZ0Theta.transpose()*(covPerigeeZ0Theta*IPz0JacZ0Theta));
double _temp = (IPz0JacZ0Theta.transpose()*(covPerigeeZ0Theta*IPz0JacZ0Theta));
newIPandSigma->sigmaz0SinTheta=sqrt(_temp);
newIPandSigma->PVsigmaz0SinTheta=0;
newIPandSigma->IPz0 = z0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment