aboutsummaryrefslogtreecommitdiff
path: root/include/cnn1986.c
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-24 12:07:18 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit815cde44e5060ad093347bb47fc66d41c9d3a3ed (patch)
treefdbd7a4d55ae6da4e4cdc841343d63bf7dcc826c /include/cnn1986.c
parent93f66971f66c14f18aba743b6d0f8b0f557351ca (diff)
Still trying
|
Diffstat (limited to 'include/cnn1986.c')
-rw-r--r--include/cnn1986.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/cnn1986.c b/include/cnn1986.c
index 039dddd..17d4e84 100644
--- a/include/cnn1986.c
+++ b/include/cnn1986.c
@@ -100,10 +100,12 @@ float cnn1986_evaluate_black_win(void) {
}
// Truncated Pade approximant of logistic function
output = (12.0+output+50.0*output/(output*output+10.0))/24.0;
-#ifndef DETERMINISTIC
- RANDF;
- output += fudge.f;
-#endif
+/*
+ * #ifndef DETERMINISTIC
+ * RANDF;
+ * output += fudge.f;
+ * #endif
+ */
if (output > 1.0) {
return 1.0;
}