erdos
12-24-2007, 10:26 AM
Dear members,
I am new to C++ and am getting some very odd error messages when using the svd algorithm. I have copied the algorithm by hand from second edition of the NR C++ book.
I am able to build the routine and i get zero warnings and errors. However, when I run the the svd routine on a test case 2x2 matrix I get message (a message window opens up, which has options: Abort, Retry and Ignore):
Debug Error!
Damage: after Normal block (#55) at 0x004A1BF0
Yesterday I was getting another message entitled "Assertion Failure with dbgheap.c "!
I have no idea what is happening. I have compared my code with the book's so many times. I can't seem to find any errors.
I have attached my code.
Any advice rendered would be deeply appreciated.
Thanks!
Erdos.
I am new to C++ and am getting some very odd error messages when using the svd algorithm. I have copied the algorithm by hand from second edition of the NR C++ book.
I am able to build the routine and i get zero warnings and errors. However, when I run the the svd routine on a test case 2x2 matrix I get message (a message window opens up, which has options: Abort, Retry and Ignore):
Debug Error!
Damage: after Normal block (#55) at 0x004A1BF0
Yesterday I was getting another message entitled "Assertion Failure with dbgheap.c "!
I have no idea what is happening. I have compared my code with the book's so many times. I can't seem to find any errors.
I have attached my code.
Any advice rendered would be deeply appreciated.
Thanks!
Erdos.