mirror of https://github.com/GNOME/gimp.git
app: in polynomial_odd_roots(), fix derivative array size
This commit is contained in:
parent
f9f4538358
commit
db678ad212
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue