Registered Member
|
Hi,
i'm trying to use the sparse lu solver in a class that's part of a dll. Right after the successful initialization of the solver i test it with a random rhs vector and it works. But calling methods from outside the solver fails. Thanks for any suggestion what i might done wrong. |
Moderator
|
What do you mean by "calling methods from outside the solver"?
|
Registered Member
|
Hi,
thank you for your help, my class looks like this:
the initSolver() method sets up the m_solver variable, i.e.
and calls testsolver. This is just solving for a constant vector. Then it works. But if i try it outside, that is:
it fails. Thank you again for reading it. |
Moderator
|
m_solver keeps a const reference to the matrix A which must still be valid when calling testSolver.
|
Moderator
|
hm, no that does not seems to the case, but you can still try to keep it as a member of your class for debugging purpose.
BTW, how does it fail? |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]