mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-08-31 23:33:42 +02:00
Fix running averages
This commit is contained in:
parent
bb64e47ac9
commit
70dbec8ab8
@ -110,7 +110,9 @@ let read_bytes b idx =
|
||||
Bytes.get_int64_ne b idx
|
||||
|> Int64.to_int
|
||||
in
|
||||
try
|
||||
Some (Bytes.sub b (idx+8) m, idx+8+m)
|
||||
with Invalid_argument _ -> None
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user