Commit 39d28b0b authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

LinearPrediction: compilation fix

parent e5fefdc7
......@@ -158,9 +158,13 @@ public:
aa[j]= -d_[p-1-j];
#ifdef USE_GSL
gsl_poly_complex_workspace* w = gsl_poly_complex_workspace_alloc(pp1);
gsl_poly_complex_solve (&aa[0], pp1, w, &zz[0]);
throw RuntimeError("Please compile with USE_GSL defined\n");
for (SizeType j=0;j<p;j++) {
roots[j] = Complex(zz[2*j],zz[2*j+1]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment