Destructor of the base class LinSolverDirect deletes matrix factors L and U, which its members. However, L and U factors are created by classes derived from LinSolverDirect, hence it might be better if those classes have responsibility of deleting the factors.
Destructor of the base class
LinSolverDirect
deletes matrix factors L and U, which its members. However, L and U factors are created by classes derived fromLinSolverDirect
, hence it might be better if those classes have responsibility of deleting the factors.