mirror of
https://gitlab.com/scemama/EZFIO.git
synced 2024-11-19 04:22:25 +01:00
Bug with multi-dimensional integer*8 arrays in ocaml corrected
This commit is contained in:
parent
088c5ab63d
commit
4837aed52e
@ -416,9 +416,9 @@ let write_array print_fun group name a =
|
||||
in
|
||||
begin
|
||||
(* Write rank *)
|
||||
Printf.fprintf out_channel "%4d\n" rank;
|
||||
Printf.fprintf out_channel "%3d\n" rank;
|
||||
(* Write dimensions *)
|
||||
Array.iter (Printf.fprintf out_channel " %8d") dimensions;
|
||||
Array.iter (Printf.fprintf out_channel " %16d") dimensions;
|
||||
Printf.fprintf out_channel "\n";
|
||||
Array.iter (print_fun out_channel) data;
|
||||
close_out out_channel ;
|
||||
|
Loading…
Reference in New Issue
Block a user