Skip to content
Snippets Groups Projects
Commit d18549c3 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

MagFieldUtils: Fix compilation with gcc10.

Need <cmath> for std::isnan.
parent 68d58757
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
///////////////////////////////////////////////////////////////////
......@@ -39,12 +39,15 @@
// performance test
#include <time.h>
#include <vector>
#include <cmath> // isnan
namespace {
const double solenoidRadius = 1075.;
const double solenoidZhalf = 2820.;
}
using std::isnan;
///////////////////////////////////////////////////////////////////
// Public methods:
///////////////////////////////////////////////////////////////////
......
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