Avoid a stack overflow on some compilers in test code.

This commit is contained in:
William Hart 2014-04-02 19:53:53 +01:00
parent a9dbae9c4b
commit b81eced2bd

View File

@ -225,8 +225,8 @@ main (argc, argv)
" maximum value when converting real numbers to integers\n" \
"";
mpf_t fvec[FVECSIZ];
mpz_t zvec[FVECSIZ];
static mpf_t fvec[FVECSIZ];
static mpz_t zvec[FVECSIZ];
unsigned long int f, n, vecentries;
char *filen;
FILE *fp;