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:
parent
4df30f51c0
commit
65efa3a248
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user