Commit db678ad2 authored by Ell's avatar Ell

app: in polynomial_odd_roots(), fix derivative array size

parent f9f45383
Pipeline #149811 passed with stages
in 79 minutes and 28 seconds
......@@ -895,7 +895,7 @@ polynomial_odd_roots (const gdouble *poly,
/* general case */
default:
{
gdouble deriv[degree - 1];
gdouble deriv[degree];
gdouble deriv_roots[degree - 1];
gint n_deriv_roots;
gdouble a;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment