From 455bd84179aa0061a17898359d2f36b269606f22 Mon Sep 17 00:00:00 2001 From: Jonas Rembser Date: Mon, 20 Apr 2026 15:54:18 +0200 Subject: [PATCH] [Math] Remove workaround for issue #12108 Remove workaround for issue #12108, which is hopefully not needed anymore. --- math/mathcore/inc/Math/CladDerivator.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/math/mathcore/inc/Math/CladDerivator.h b/math/mathcore/inc/Math/CladDerivator.h index d5b46e444c996..ada696c300c1f 100644 --- a/math/mathcore/inc/Math/CladDerivator.h +++ b/math/mathcore/inc/Math/CladDerivator.h @@ -206,20 +206,6 @@ ValueAndPushforward TanH_pushforward(T x, T d_x) return {::TMath::TanH(x), (1. / ::TMath::Sq(::TMath::CosH(x))) * d_x}; } -#ifdef WIN32 -// Additional custom derivatives that can be removed -// after Issue #12108 in ROOT is resolved -// constexpr is removed -ValueAndPushforward Pi_pushforward() -{ - return {3.1415926535897931, 0.}; -} -// constexpr is removed -ValueAndPushforward Ln10_pushforward() -{ - return {2.3025850929940459, 0.}; -} -#endif } // namespace TMath namespace ROOT {