Skip to content

Commit

Permalink
extra comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jangorecki committed Jan 11, 2024
1 parent 623f42b commit 03af0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/froll.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ void frollmax(unsigned int algo, double *x, uint64_t nx, ans_t *ans, int k, int
} else { // algo==1
frollmaxExact(x, nx, ans, k, fill, narm, hasna, verbose);
}
if (ans->status < 3 && align < 1) {
if (ans->status < 3 && align < 1) { // non-error && align!="right" // see comment in frollmean function
int k_ = align==-1 ? k-1 : floor(k/2);
if (verbose)
snprintf(end(ans->message[0]), 500, _("%s: align %d, shift answer by %d\n"), __func__, align, -k_);
Expand Down

0 comments on commit 03af0e3

Please sign in to comment.