This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
cspline.c
- To: gsl-discuss at sources dot redhat dot com
- Subject: cspline.c
- From: Sylvain Lefebvre <Sylvain dot Lefebvre at imag dot fr>
- Date: Tue, 16 Jan 2001 12:02:04 +0100
Hi,
On my SGI, there's two illegal structure initialisations in cspline.c at
lines 137 and 216:
gsl_vector solution_vec = { sys_size, 1, interp->c + 1, 0 };
It's illegal because it should only be used with constants. Or sys_size
and interp->c are not constant expressions.
I replaced it by:
gsl_vector solution_vec;
solution_vec.size=sys_size;
solution_vec.stride=1;
solution_vec.data=interp->c + 1;
solution_vec.block=0;
And now it works fine :))
Thank you !
Bye.
Sylvain LEFEBVRE