Make sure all the sqrt coeffs have space for storage

This commit is contained in:
Michał Janiszewski 2016-04-25 21:38:34 +02:00
parent f91771fdbe
commit b82824518a

View file

@ -44,7 +44,7 @@ inline int getEl(int i, int j, int n)
typedef struct
{
int ord;
double coef[MAX_ORDER];
double coef[MAX_ORDER + 1];
} poly;
//-------------------------------------------------------------------------