app: in polynomial_odd_roots(), fix derivative array size
(cherry picked from commit db678ad212
)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user