diff --git a/test_problems/test_d_cond.c b/test_problems/test_d_cond.c index 909bef44..fa6308dc 100644 --- a/test_problems/test_d_cond.c +++ b/test_problems/test_d_cond.c @@ -181,7 +181,7 @@ int main() // stage-wise variant size - int nx[N+1]; + int *nx = (int *) malloc((N+1)*sizeof(int)); #if KEEP_X0 nx[0] = nx_; #else @@ -191,17 +191,17 @@ int main() nx[ii] = nx_; // nx[N] = 0; - int nu[N+1]; + int *nu = (int *) malloc((N+1)*sizeof(int)); for(ii=0; ii