diff options
| author | Julian Weigt <juw@posteo.de> | 2025-12-28 11:59:45 +0000 |
|---|---|---|
| committer | Julian Weigt <juw@posteo.de> | 2026-02-04 15:55:48 +0100 |
| commit | 828654f79fa3e38e99319250de25350109786320 (patch) | |
| tree | 6f6c222af759531dc2e14e6a0619c3dfb1f25591 /charf.c | |
| parent | 944f90c47ffcde862dfe5f258de0b1ebf229c20e (diff) | |
Handle error estimate for maximum properly.
Diffstat (limited to 'charf.c')
| -rw-r--r-- | charf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ void compute_maximalfunction(VALUETYPE* f, VALUETYPE* Mf){ for(int i=0;i<D;i++){ Mf[i] = Af[i][i]; for(int j=0;j<D;j++){ - if(is_greater(Af[i][j], Mf[i])) Mf[i] = Af[i][j]; + Mf[i] = maximum(Af[i][j], Mf[i]); } } |
