Skip to content
Snippets Groups Projects
Commit a5999528 authored by Stewart Martin-Haugh's avatar Stewart Martin-Haugh
Browse files

Remove NaN check from getField method - will be picked up by FPEAuditor

Former-commit-id: 3f1b1ee4
parent a77d9dc7
No related branches found
No related tags found
No related merge requests found
......@@ -447,10 +447,6 @@ void MagField::AtlasFieldSvc::getField(const double *xyz, double *bxyz, double *
bxyz[0] = bxyz[1] = bxyz[2] = defaultB;
// return zero gradient if requested
if ( deriv ) for ( int i = 0; i < 9; i++ ) deriv[i] = 0.;
// check NaN in input
if ( x!=x || y!=y || z!=z ) {
ATH_MSG_WARNING( "getFieldStandard was called for xyz = " << x << "," << y << "," << z );
}
return;
}
}
......
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