Numerical Recipes Forum  

Go Back   Numerical Recipes Forum > Obsolete Editions Forum > General Hints, Tips, and Tricks for Using NR

Thread Tools Display Modes
Old 10-07-2003, 09:33 PM
Ashok Verma Ashok Verma is offline
Join Date: Oct 2003
Posts: 1
Levenberg Marquardt Method

I executed the 'mrqmin' code using gcc......But making more no.. of malloc() leads to segmentation fault (I checked this thing by a simple program). Finally
I converted the code for fixed array type variables........But I this *chisq is diverging........ May somewhere I made some error.....but I am not able to find out the reason.......

Now if I want to use the original code as it is......Than is there any way to get read of segmentation faults because of malloc().......

Or what would be best alternative........?

With regards
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 03:18 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.