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 84ca9bd commit 6847245
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 @@ -381,7 +381,7 @@ def update(
if use_pardiso:
new_A_induced = pypardiso.spsolve(A_laplacian, rhs)
else:
new_A_induced = A_laplacian_lu(new_A_induced)
new_A_induced = A_laplacian_lu(rhs)
new_A_induced = new_A_induced[edges].mean(axis=1)
# Update induced vector potential using Polyak's method
dA = new_A_induced - A_induced
Expand Down

0 comments on commit 6847245

Please sign in to comment.