From 862696eef19be107f1fb04699421a29bfa71e44a Mon Sep 17 00:00:00 2001 From: lutepickle <28810-lutepickle@users.noreply.gitgud.io> Date: Thu, 7 Jul 2022 19:09:06 -0700 Subject: [PATCH] Make the recursion limiter on RandomVariabilityPercent return the proper value --- 1.3/Assemblies/RJW_Menstruation.dll | Bin 157696 -> 157696 bytes .../RJW_Menstruation/Utility.cs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/1.3/Assemblies/RJW_Menstruation.dll b/1.3/Assemblies/RJW_Menstruation.dll index 869d55e72756e40e2ceb2aa62f92fca83fec5b00..d9b682cd607bae2434143d31afe1fd6c3bc1cf60 100644 GIT binary patch delta 87 zcmV-d0I2_f&nXjJSqa@Gz6ye?A4bfUjj4`o1g2AEf8!>h@hY9y^|j3w`gAim= 10) return mean; + if (recursion >= 10) return mean / (28 * 2); float variability = Rand.Gaussian(mean, stddev) - Mathf.Log(Rand.Value) / lambda; variability /= 28 * 2; // Convert to percentage