diff options
| author | Julian Weigt <juw@posteo.de> | 2025-12-27 15:55:26 +0000 |
|---|---|---|
| committer | Julian Weigt <juw@posteo.de> | 2026-02-04 15:55:47 +0100 |
| commit | 32c7a6e84f67ec44fbb1b32801271aa096f407b2 (patch) | |
| tree | 0025f94833ac94883e776305720af0fad24e4810 | |
| parent | a821b9953f9386614fb7657919c431d0c90eece3 (diff) | |
Fix formula for max.
| -rw-r--r-- | charf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,7 +169,7 @@ void compute(EXPTYPE p, int t){ VALUETYPE intdfp = integratep(df,p); VALUETYPE intdMfp = integratep(dMf,p); - max = max*pow(D,to_double(ratio(convert_int(1),convert_int(p)))); + max = D*pow(max,p); max_operations_per_variable = D*(max_operations_per_variable+1) + D-1 + 1; //printf("%d: %f / %f = %f\n",k,intdMfp[k],intdfp[k],intdMfp[k]/intdfp[k]); |
