Skip to content

Commit 9c09bc1

Browse files
committed
Small bugfix
1 parent 5e5ba69 commit 9c09bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auto_tuning.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ is_stable(double *elems, int nelems)
7272
last = elems[nelems - 1];
7373

7474
return (est * (1. + auto_tuning_convergence_error) > last || est + auto_tuning_convergence_error > last) &&
75-
(est * (1. - auto_tuning_max_error) < last || est - auto_tuning_max_error < last);
75+
(est * (1. - auto_tuning_convergence_error) < last || est - auto_tuning_convergence_error < last);
7676
}
7777

7878
/*

0 commit comments

Comments
 (0)