You can use your own error handler to avoid abort(). See Chapter 3 of the manual for more info

On 08/25/2016 05:27 PM, [email protected] wrote:
I am sorry that my English-language using is not well(I am not a native English speaker). 
I'v found that my main function was always abort()ed while my code include 
"gsl/gsl_sf_coulomb.h".It's because calculating ‘coulomb wave function’ might 
be very difficult in some case.While I want to draw ‘coulomb wave function’, I use:int 
qq=gsl_sf_coulomb_wave_FG_e(#parameters#)again and again.when qq==0, results was 
successful calculated.while qq!=0, something went wrong, and function(in file 
err/error.c):void gsl_error(#parameters#){      #some code#      abort();}would be waked 
up, and my drawing would be totally abort()ed.but I think what i need is that while 
qq!=0, I can delete that point in my drawing by myself, and keep drawing other points.So 
I //ed abort(), and recompiled gsl.While other users using gsl, ...? We'd better let 
users choose what they should do when errors happening, but not totally abort()ed.I am 
sorry that my English-language using is not well(I am not a native English speaker).Thank 
you for reading my message. Happy every day!




Reply via email to