mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2025-01-02 17:45:39 +01:00
Corrected bug in walkers
This commit is contained in:
parent
3826062b88
commit
0d5d317a85
@ -445,7 +445,7 @@ let run ezfio_filename dataserver =
|
||||
let fetch i =
|
||||
let rec loop accu = function
|
||||
| -1 -> accu
|
||||
| k -> loop ((Array.get a (i+k)) :: accu) (k-1)
|
||||
| k -> loop ((Array.get a (i*len+k)) :: accu) (k-1)
|
||||
in
|
||||
loop [] (len-1)
|
||||
in
|
||||
@ -481,6 +481,8 @@ let run ezfio_filename dataserver =
|
||||
Int.to_string (5*len)] ; ( select_n_of ~n:5 ~len rest ) ]
|
||||
| _ -> message
|
||||
in
|
||||
let f = fun x -> x in
|
||||
Printf.printf "%s\n%s\n\n%!" (List.to_string ~f message) (List.to_string ~f new_message);
|
||||
ZMQ.Socket.send_all push_socket new_message
|
||||
in
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user