Skip to content

Commit

Permalink
Fix Python Tutorials
Browse files Browse the repository at this point in the history
Updating breaking changes from pyAMReX :)
  • Loading branch information
ax3l committed May 8, 2024
1 parent e2f1008 commit 575eba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GuidedTutorials/HeatEquation/Source/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def main(n_cell, max_grid_size, nsteps, plot_int, dt):
time = time + dt

# Copy new solution into old solution
phi_old.copy(dst=phi_old, src=phi_new, srccomp=0, dstcomp=0, numcomp=1, nghost=0)
amr.copy_mfab(dst=phi_old, src=phi_new, srccomp=0, dstcomp=0, numcomp=1, nghost=0)

# Tell the I/O Processor to write out which step we're doing
amr.Print(f'Advanced step {step}\n')
Expand Down

0 comments on commit 575eba2

Please sign in to comment.