From a57aacd8116a2a0ba3f56f41883c9c5f30130927 Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Mon, 19 Jan 2026 15:08:17 +0100 Subject: Fix computation of maximal function. --- charf.c | 54 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 40 insertions(+), 14 deletions(-) (limited to 'charf.c') diff --git a/charf.c b/charf.c index 0d11f22..33220ea 100644 --- a/charf.c +++ b/charf.c @@ -83,31 +83,57 @@ void compute_maximalfunction(VALUETYPE* f, VALUETYPE* Mf, int D){ VALUETYPE* Sf[N]; VALUETYPE* Af[N]; for(int i=0; i0; l--) { + for(int i=0; i