Skip to content

Commit

Permalink
call pardiso after release
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Sep 28, 2023
1 parent 62370e4 commit 8e3708f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/lodf_calculations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ function _pardiso_sequential_LODF!(
i_count = edge + 1
end
Pardiso.set_phase!(ps, Pardiso.RELEASE_ALL)
Pardiso.pardiso(
ps,
A,
Float64[],
)
return
end

Expand Down Expand Up @@ -199,6 +204,11 @@ function _pardiso_single_LODF!(
ptdf_denominator_t,
)
Pardiso.set_phase!(ps, Pardiso.RELEASE_ALL)
Pardiso.pardiso(
ps,
A,
Float64[],
)
return
end

Expand Down

0 comments on commit 8e3708f

Please sign in to comment.