mrqmin.cpp in visual C++6


sebastien2003
08-26-2002, 10:01 AM
I try to make a program to fit gaussian curve.
So i put all function necessary to use mrqmin.cpp
in a DLL make with VC++6 and i try to use it with a program
make with VB6 but the are some errors :

like : acces violation ... memory can not be read ...

somebody know something about this function

Sébastien

pdespres
10-03-2002, 11:32 AM
Hello,

I don't know if you resolved your problem but I had a similar one (see my post in the 14-15 chapters section). Actually, I called mrqmin many times with different value of ma and the seg fault happened because of the static modifier of the local variables of mrqmin. I removed the static keyword and it worked.

Saul Teukolsky
10-08-2002, 01:08 PM
See also

http://www.nr.com/forum/showthread.php?s=&threadid=134