|
Re: Custom structures containing gsl_vector: msg#00064lib.gsl.general
Hello Steve, Yes that was the problem! I did not realise that by declaring the spectrum variable as a pointer to a Spectra struct, Spectra *spectrum; MakeSpectra (Spectum, x, y, count); the run-time does not actually allocate any memory. You have to do this, Spectra spectrum; MakeSpectra (&Spectrum, x, y, count); Thanks for pointing that our. Regards, Dan. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Memory allocation for large matrices: 00064, Tommy Nordgren |
|---|---|
| Next by Date: | undefined reference of gsl_eigen_gensymmv_sort: 00064, Andrea Duggento |
| Previous by Thread: | Custom structures containing gsl_vectori: 00064, Daniel J Farrell |
| Next by Thread: | Re: Custom structures containing gsl_vector: 00064, Brian Gough |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |