This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I just switched from gsl 1.5 to 1.6, and now I get GSL_EBADFUNC back from gsl_odeiv_evolve_apply. My model has a step function in it that may turn on mid step. Often this causes the derivatives to become infinite or not a number. Whenever this happens I set the derivatives to 0 and return my own error code, #define KHH_SILLY_MODEL 65521, from my derivative function. Then after gsl_odeiv_evolve_apply returns if status == KHH_SILLY_MODEL I chop the step size. Adjusting the derivatives may not be the right thing to do, but shouldn't my error code make it all the way back out?
Attachment:
signature.asc
Description: This is a digitally signed message part
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |