Registered Member
|
Hello,
I´m trying to use the SuperLU class to factorize a sparse matrix. This is the code (it is very simple):
The compilation is OK (I have built all depenedences correctly). But when I run the application, it doesn´t work because run time exception is thrown. The exception sais: "Unhandled Exception in 0x77e415de in USeigen.exe: 0xC0000005: Access violation writing to location 0xeb0ffb84." I have debbuged the program and I have known that the exception is thrown in "factorize" metho. I´m using Visual Studio 2010 on a Windows 7 System. Can you help me, please?? I suppose it's a simple mistake. Thank You Very Much. |
Moderator
|
I guess that's because your matrix is not invertible and that errors returned by SuperLU may not be properly handled. To be sure, put ones on the diagonals.
|
Moderator
|
well, you should also check that:
solver.info()==Success after each step ! |
Registered Member
|
It works!.
Thank you very much! |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]