Hi,
I'm using the gsl v 1.6.
I've got the problem, that structs/ojects... are not properly constructed.
When I try to run certain examples from the documentation the objects are not
initialized. For example, in the interpolation example it's the interpolation
type. This turns out to not have been initialized:
...
gsl_interp_accel *acc
      = gsl_interp_accel_alloc ();
gsl_spline *spline
      = gsl_spline_alloc (gsl_interp_cspline, 10); <- runtime error
...

One more example(ranges):
...
const gsl_rng_type * T;
gsl_rng * r;
size_t i, k = 5, N = 100000;
...
gsl_rng_env_setup();
T = gsl_rng_default;
r = gsl_rng_alloc (T); <-runtime error 0x0000005 reading position 0x0051e3e9
...
Here I can see in the debugger, that T has the address 0x0051e3e9,
but all members "can not be evaluated".

When I just call functions from the gsl,
as in the first basic example:
...
double y = gsl_sf_bessel_J0 (x);
printf ("J0(%g) = %.18e\n", x, y);
...
everthing works fine.

Has anyone a suggestion what goes wrong?



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to