Ronald Haynes writes: > main then calls another function X (say) which in turn calls function Y > (say) a bunch of times. Inside Y I need to evaluate the same spline at a > bunch of different points. But if I do > > val = gsl_spline_eval (spline, t, acc); > > inside function Y the code terminates during runtime with a signal 11 > termination. (It seems to compile fine...). > > Any thoughts?
Hello, In principle it should work (from your description). Try running under gdb, to see if there is a null or invalid pointer for some unexpected reason: http://www.network-theory.co.uk/docs/gccintro/gccintro_38.html If that doesn't help, try posting a self-contained example to this list. -- Brian Gough Network Theory Ltd, Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/ _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
