From 24e8262f2f6165139e29e3b9064b80631d841e37 Mon Sep 17 00:00:00 2001 From: "Alexander J. Pfleger" <70842573+AJPfleger@users.noreply.github.com> Date: Mon, 11 Nov 2024 19:47:56 +0100 Subject: [PATCH] chore: remove `M_PI` relics (#3845) --- docs/codeguide.md | 2 +- docs/conf.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/codeguide.md b/docs/codeguide.md index 402ba00be6f..0030cef319d 100644 --- a/docs/codeguide.md +++ b/docs/codeguide.md @@ -30,7 +30,7 @@ pos4[eTime] = 12.3; BoundVector pars; pars[eBoundLoc0] = 1.2; ... -pars[eBoundPhi] = M_PI; +pars[eBoundPhi] = std::numbers::pi; ... ``` diff --git a/docs/conf.py b/docs/conf.py index 7788dad8dce..0f333f385a5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -121,7 +121,6 @@ nitpick_ignore = [ ("cpp:identifier", "Acts"), ("cpp:identifier", "detail"), - ("cpp:identifier", "M_PI"), ("cpp:identifier", "eSize"), ("cpp:identifier", "eBoundSize"), ("cpp:identifier", "eFreeSize"),