Skip to content

Commit

Permalink
Update solve.py
Browse files Browse the repository at this point in the history
  • Loading branch information
loganbvh committed Sep 20, 2023
1 parent d307afb commit 4f8c70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdgl/solver/solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def update(
# )
# else:
# new_A_induced = get_A_induced_numba(J_site, areas, sites, edge_centers)
rhs = -(A_laplacian @ laplacian_A_applied) - (1 / kappa**2 * J_site)
rhs = -(laplacian_A_applied + (1 / kappa**2 * J_site))
if use_pardiso:
new_A_induced = pypardiso.spsolve(A_laplacian, rhs)
else:
Expand Down

0 comments on commit 4f8c70e

Please sign in to comment.