mirror of
https://github.com/fjosw/pyerrors.git
synced 2026-08-04 11:31:21 +02:00
lint
This commit is contained in:
parent
52a2c67614
commit
ed96ceadc4
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ def _extract_flowed_energy_density(path, prefix, dtr_read, xmin, spatial_extent,
|
|||
for current in range(0, len(item), tmax)])
|
||||
|
||||
diffmeas = configlist[-1][-1] - configlist[-1][-2]
|
||||
if not np.isclose(configlist[-1][0]/diffmeas, int(configlist[-1][0]/diffmeas), 1e-12):
|
||||
if not np.isclose(configlist[-1][0] / diffmeas, int(configlist[-1][0] / diffmeas), 1e-12):
|
||||
raise ValueError("Spacing of the first configuration after thermalization is irregular.")
|
||||
configlist[-1] = [item // diffmeas for item in configlist[-1]]
|
||||
if kwargs.get('assume_thermalization', True) and configlist[-1][0] > 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue