Skip to content
Browse files

Use XSRETURN instead of return in the gsl_function_fdf typemap

  • Loading branch information...
1 parent 058e039 commit 93cc517d8a14f1ef47bc52edd698b11260905bcd @leto committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 swig/gsl_typemaps.i
View
2 swig/gsl_typemaps.i
@@ -597,5 +597,5 @@ void array_wrapper_free(array_wrapper * daw){
/* TODO: same thing should be done for these kinds of callbacks */
%typemap(in) gsl_function_fdf * {
fprintf(stderr, 'FDF_FUNC');
- return GSL_NAN;
+ XSRETURN(GSL_NAN);
}

0 comments on commit 93cc517

Please sign in to comment.
Something went wrong with that request. Please try again.