Hello,
I get the exception in subject following the code:
struct param_t {
double x;
double t;
};
param_t *params = new param_t[count];
for (int i = 0; i < count; i = i+1) {
params[i].x = ...;
params[i].t = ...;
{
gsl_function f;
f.params = params;
typedef double (*function_t)(double, void *);
f.function = (function_t)GetProcAddress(library, name);
s = gsl_root_fsolver_alloc(gsl_root_fsolver_brent);
// SO FAR SO GOOD :-) that is, memory is OK!
gsl_root_fsolver_set (s, f, 0, 1000);
// AccessViolationException :-( please HELP!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users