ORNL / ReSolve

Library of GPU-resident linear solvers
Other
54 stars 2 forks source link

Who should delete L and U factors in direct solver classes #139

Closed pelesh closed 7 months ago

pelesh commented 7 months ago

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.