g_loughnan
03-26-2008, 01:46 PM
Hi there,
I'm trying to use the Burg algorithm given in section 13.6. I've written out the code, built a project to which I have added "nrutil.h" and "nrutil.c". When I try to build the solution, I get an error for 'vector': "function does not take 2 parameters" and an error for 'free_vector': "function does not take 3 parameters". 'vector' is declared in "nrutil.h" to accept 2 parameters, and 'free_vector' is declared to accept 3 parameters. I can't see why I am getting this error??? Help/suggestions would be great!
Thanks,
Ger.
I'm trying to use the Burg algorithm given in section 13.6. I've written out the code, built a project to which I have added "nrutil.h" and "nrutil.c". When I try to build the solution, I get an error for 'vector': "function does not take 2 parameters" and an error for 'free_vector': "function does not take 3 parameters". 'vector' is declared in "nrutil.h" to accept 2 parameters, and 'free_vector' is declared to accept 3 parameters. I can't see why I am getting this error??? Help/suggestions would be great!
Thanks,
Ger.