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

MagFieldInterfaces: Suppress cppcheck warning.

Suppress cppcheck false positive.
parent c92f8746
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-2023 CERN for the benefit of the ATLAS collaboration
*/
///////////////////////////////////////////////////////////////////
......@@ -46,6 +46,7 @@ namespace MagField {
getField( xyz->data(), bxyz->data(), nullptr );
}
void getField(const Amg::Vector3D *xyz, Amg::Vector3D *bxyz, Amg::RotationMatrix3D *deriv) const {
// cppcheck-suppress nullPointer; false positive
getField( xyz->data(), bxyz->data(), deriv->data() );
}
......
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