mirror of https://github.com/QMCPACK/qmcpack.git
Fix samples check in check_scalars
All code paths need to have the number of samples added to the stats data
This commit is contained in:
parent
370f897b4b
commit
3af48cad1d
|
@ -299,7 +299,7 @@ def process_scalar_files(options,quants_check):
|
|||
|
||||
if 'BlockWeight' in data:
|
||||
ts = sum(data['BlockWeight'])
|
||||
stats['TotalSamples'] = (ts,0.0,0.0,1.0) # mean, var, error, kappa
|
||||
stats['TotalSamples'] = (ts,0.0,0.0,1.0,1) # mean, var, error, kappa, N
|
||||
#end if
|
||||
|
||||
for q in quants_check:
|
||||
|
|
Loading…
Reference in New Issue