Skip to content

Commit

Permalink
fm: Check success of elpa_deallocate
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed May 10, 2021
1 parent 167df3c commit dceca61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fm/cp_fm_elpa.F
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,8 @@ SUBROUTINE cp_fm_diag_elpa_base(matrix, eigenvectors, eigenvalues, rdinfo)
CALL cp_fm_release(eigenvectors_noqr)
END IF

CALL elpa_deallocate(elpa_obj)
CALL elpa_deallocate(elpa_obj, success)
CPASSERT(success == elpa_ok)

eigenvalues(1:neig) = eval(1:neig)
DEALLOCATE (eval)
Expand Down

0 comments on commit dceca61

Please sign in to comment.