1
0
mirror of https://github.com/TREX-CoE/qmc-lttc.git synced 2024-12-30 08:06:06 +01:00

variable was incorrectly used

Runtime error   ::   NameError: name 'accep_rate' is not defined
This commit is contained in:
Ravindra Shinde 2021-02-02 15:30:11 +01:00 committed by GitHub
parent 4df30f51c0
commit 65efa3a248
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ def MonteCarlo(a,nmax,dt):
d2_old = d2_new
psi_old = psi_new
return energy/nmax, accep_rate/nmax
return energy/nmax, N_accep/nmax
# Run simulation