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 18, 2023
1 parent 86d326e commit cc08591
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 @@ -225,7 +225,7 @@ def current_func(t):
areas = cupy.asarray(areas)
edge_centers = cupy.asarray(edge_centers)
sites = cupy.asarray(sites)
new_A_induced = cupy.empty((num_edges, 2), dtype=float)
new_A_induced = cupy.empty((len(edges), 2), dtype=float)

# Running list of the max abs change in |psi|^2 between subsequent solve steps.
# This list is used to calculate the adaptive time step.
Expand Down

0 comments on commit cc08591

Please sign in to comment.