10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-12-22 12:23:31 +01:00

Acceleration

This commit is contained in:
Anthony Scemama 2019-02-28 22:52:20 +01:00
parent 61a237c444
commit 622650a280

View File

@ -170,7 +170,7 @@ let create_matrix_spin f det_space =
) a; ) a;
Array.map (fun l -> Array.map (fun l ->
List.sort compare l List.rev l
|> Vector.sparse_of_assoc_list ndet ) result |> Vector.sparse_of_assoc_list ndet ) result
|> Matrix.sparse_of_vector_array |> Matrix.sparse_of_vector_array
) )