You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to compile robospect under the latest Linux Mint. I got this error: gsllm-multigauss.c: In function ‘lm_multigauss’: gsllm-multigauss.c:180:25: error: ‘gsl_multifit_fdfsolver’ {aka ‘struct <anonymous>’} has no member named ‘J’ 180 | gsl_multifit_covar(S->J,0.0,covar); | ^~ # cc1 0.06 0.01
I think it's related with different version of libgsl. I have v2.5 in which used structure typedef struct { const gsl_multifit_fdfsolver_type * type; gsl_multifit_function_fdf * fdf ; gsl_vector * x; gsl_vector * f; gsl_matrix * J; gsl_vector * dx; void *state; } gsl_multifit_fdfsolver;
changed to typedef struct { const gsl_multifit_fsolver_type * type; gsl_multifit_function * function ; gsl_vector * x ; gsl_vector * f ; gsl_vector * dx ; void *state; } gsl_multifit_fsolver;
It's without matrix J.
How to modify robospect file nlls-multigauss.c to work also with newer versions of libgsl?
The text was updated successfully, but these errors were encountered:
I tried to compile robospect under the latest Linux Mint. I got this error:
gsllm-multigauss.c: In function ‘lm_multigauss’:
gsllm-multigauss.c:180:25: error: ‘gsl_multifit_fdfsolver’ {aka ‘struct <anonymous>’} has no member named ‘J’
180 | gsl_multifit_covar(S->J,0.0,covar);
| ^~
# cc1 0.06 0.01
I think it's related with different version of
libgsl
. I have v2.5 in which used structuretypedef struct
{
const gsl_multifit_fdfsolver_type * type;
gsl_multifit_function_fdf * fdf ;
gsl_vector * x;
gsl_vector * f;
gsl_matrix * J;
gsl_vector * dx;
void *state;
}
gsl_multifit_fdfsolver;
changed to
typedef struct
{
const gsl_multifit_fsolver_type * type;
gsl_multifit_function * function ;
gsl_vector * x ;
gsl_vector * f ;
gsl_vector * dx ;
void *state;
}
gsl_multifit_fsolver;
It's without matrix J.
How to modify robospect file
nlls-multigauss.c
to work also with newer versions of libgsl?The text was updated successfully, but these errors were encountered: