From 5057843daca9e61a7ca4a0ab90cec3e3fef8ef54 Mon Sep 17 00:00:00 2001 From: Martin Reinecke Date: Thu, 13 Dec 2018 10:42:07 +0100 Subject: [PATCH] cleanup --- libsharp/sharp_core.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libsharp/sharp_core.c b/libsharp/sharp_core.c index cfdaab5..4ecc132 100644 --- a/libsharp/sharp_core.c +++ b/libsharp/sharp_core.c @@ -447,7 +447,16 @@ NOINLINE static void inner_loop_m2a(sharp_job *job, const int *ispair, ++ith; } if (nth>0) + { + int i2=((nth+VLEN-1)/VLEN)*VLEN; + for (int i=nth; i