From b3dccfa756a57854ea7afe54680cdc048dbb4037 Mon Sep 17 00:00:00 2001 From: Gary Wolfman Date: Thu, 23 Apr 2026 22:05:11 -0400 Subject: [PATCH] Correct PI constant precision in stochMath Update PI to 3.141592653589793238463 so Gaussian normalization uses an accurate constant. Co-Authored-By: Oz --- src/stochMath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stochMath.h b/src/stochMath.h index 2bc58389..4e0bbc31 100755 --- a/src/stochMath.h +++ b/src/stochMath.h @@ -46,7 +46,7 @@ namespace StochHMM{ - #define PI 3.145926535897932 + #define PI 3.141592653589793238463 //FIXME: Need to generate dynamically once upon initialization of HMM. System differences between (int,long,...); //Or just leave it. It may work well enough;