Skip to content

Commit

Permalink
update pamc
Browse files Browse the repository at this point in the history
  • Loading branch information
aoymt committed Aug 17, 2024
1 parent 6056fbd commit 6c035a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/py2dmat/algorithm/pamc.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import py2dmat.algorithm.montecarlo
import py2dmat.util.separateT
import py2dmat.util.resampling
from py2dmat.algorithm.montecarlo import read_Ts


class Algorithm(py2dmat.algorithm.montecarlo.AlgorithmBase):
Expand Down Expand Up @@ -133,7 +134,10 @@ def __init__(self, info: py2dmat.Info, runner: py2dmat.Runner = None) -> None:
self.numsteps_for_T = np.array(ss)
numT = len(ss)

self.betas = self.read_Ts(info_pamc, numT=numT)
super()._initialize()

#self.betas = self.read_Ts(info_pamc, numT=numT)
self.input_as_beta, self.betas = read_Ts(info_pamc, numT=numT)
self.betas.sort()
self.Tindex = 0

Expand Down

0 comments on commit 6c035a5

Please sign in to comment.