Skip to content
Snippets Groups Projects
Commit 29db2847 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'gcc8.VP1TrackSystems-20181020' into 'master'

VP1TrackSystems: Fix gcc8 warning.

See merge request atlas/athena!15201
parents 6d15edc4 c6cb057a
No related branches found
No related tags found
1 merge request!20779WIP: Migrate DataQualityTools to ToolHandles
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
*/ */
...@@ -386,7 +386,7 @@ const Trk::TrackParameters * TrackPropagationHelper::Imp::extrapolateToNewPar( T ...@@ -386,7 +386,7 @@ const Trk::TrackParameters * TrackPropagationHelper::Imp::extrapolateToNewPar( T
try { try {
// newpars = extrapolator->extrapolate(*trk,surf,Trk::anyDirection,false,hypo); // change this to extrapolate current param to surface. // newpars = extrapolator->extrapolate(*trk,surf,Trk::anyDirection,false,hypo); // change this to extrapolate current param to surface.
newpars = extrapolator->extrapolate(*prevpars,surf,Trk::alongMomentum,false,hypo); // change this to extrapolate current param to surface. newpars = extrapolator->extrapolate(*prevpars,surf,Trk::alongMomentum,false,hypo); // change this to extrapolate current param to surface.
} catch (std::runtime_error e) { } catch (const std::runtime_error& e) {
theclass->message("Failure trying to use extrapolator for track (Exception thrown: " + QString(e.what())+")"); theclass->message("Failure trying to use extrapolator for track (Exception thrown: " + QString(e.what())+")");
return 0; return 0;
} }
......
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