mirror of
https://github.com/TREX-CoE/qmc-lttc.git
synced 2024-12-21 20:04:10 +01:00
Merge pull request #3 from neelravi/patch-1
variable was incorrectly used
This commit is contained in:
commit
2ee80b9bb3
@ -39,7 +39,7 @@ def MonteCarlo(a,nmax,dt):
|
|||||||
d2_old = d2_new
|
d2_old = d2_new
|
||||||
psi_old = psi_new
|
psi_old = psi_new
|
||||||
|
|
||||||
return energy/nmax, accep_rate/nmax
|
return energy/nmax, N_accep/nmax
|
||||||
|
|
||||||
|
|
||||||
# Run simulation
|
# Run simulation
|
||||||
|
Loading…
Reference in New Issue
Block a user