Segmentatino fault for ludcmp


cwen
12-13-2002, 04:40 PM
Hi,
I use ludcmp() in a while loop for calcuation.
When I run my code, the "Segmentation fault" error
always appears. I don't know why. It's very strange
because I use it in a while loop. Every first time
when the while loop call ludcmp(), it succeed. But
the "Segmentatin fault" error will show up in the
second time or later time when the while loop call
ludcmp(). I have been stuck to the problem for a
long time already.

Thank you in advance for your help.

Chen

Dan McCormick
01-14-2003, 09:54 PM
Hi Chen,
I'll try to help, but I'll need some more information about your project:

What language are you using?
Can/will you show me the function/routine you're using to call ludcmp() with?
Can/will you show me the ludcmp() routine you are trying to call?
What are the specific data types/sizes of the function arguments that you call ludcmp() with?

Dan