From 4f8c70e6232df7eec2149b71b87d1b5e0899f2df Mon Sep 17 00:00:00 2001 From: Logan Bishop-Van Horn Date: Wed, 20 Sep 2023 15:24:17 -0700 Subject: [PATCH] Update solve.py --- tdgl/solver/solve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdgl/solver/solve.py b/tdgl/solver/solve.py index 88848fc..86c9528 100644 --- a/tdgl/solver/solve.py +++ b/tdgl/solver/solve.py @@ -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: