Skip to content

Commit 6b6631f

Browse files
committed
Remove 'volatile' qualifiers in fsum algorithm
1 parent 53455a3 commit 6b6631f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/mathmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ math_fsum(PyObject *module, PyObject *seq)
14671467
Py_ssize_t i, j, n = 0, m = NUM_PARTIALS;
14681468
double x, y, t, ps[NUM_PARTIALS], *p = ps;
14691469
double xsave, special_sum = 0.0, inf_sum = 0.0;
1470-
volatile double hi, yr, lo;
1470+
double hi, yr, lo;
14711471

14721472
iter = PyObject_GetIter(seq);
14731473
if (iter == NULL)

0 commit comments

Comments
 (0)