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]

Re: GSL Nonlinear Least-Squares Fitting crashes when system not converges


Christian.Winter writes:
 > I have some problems with GSL Nonlinear Least-Squares Fitting.
 >  
 > It crashes everytime when freeing the solver with
 > gsl_multifit_fdfsolver_free() when the system to fit does not
 > converge, if it converges everything is fine.
 >  
 > I use it for some kind of Augmented Reality Application to fit a
 > system of functions to find the Transformation of 3D Modelpoints
 > which are projected to 2D Device Coordinates. When the initial
 > guess of the Transformation is not good enough the system will not
 > converge but when this happens GSL crashes in the following

I would recommend compiling your program using a memory checking tool
such as 'checkergcc' on GNU/Linux, to look for any out of bounds
memory accesses.

regards

-- 
Brian Gough


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]