Skip to content

Commit

Permalink
Fix name of momentum plot
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGoffrey committed Feb 3, 2022
1 parent 5cd6513 commit 77775da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minepoch_py/momentum.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def momentum_check(fname='Data/momentum.dat', tolerance=None, label=None,
plt.tight_layout()

if savefig:
plt.savefig('energy_conservation.png')
plt.savefig('momentum_conservation.png')

# If tolerance provided, check final energy conservation error
if tolerance is not None:
Expand Down

0 comments on commit 77775da

Please sign in to comment.