Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 63ab4af5 authored by Philippe Veber's avatar Philippe Veber
Browse files

tk/Inhouse_lmm: correlation matrix is symetric

parent 75d45de4
......@@ -43,7 +43,10 @@ let index_correlations (t : Convergence_tree.u) cors =
let matrix_of_correlations n cor_assoc =
let mat = L.Mat.create n n in
List.iter cor_assoc ~f:(fun (i, j, c) -> mat.{i + 1, j + 1} <- c) ;
List.iter cor_assoc ~f:(fun (i, j, c) ->
mat.{i + 1, j + 1} <- c ;
mat.{j + 1, i + 1} <- c ;
) ;
mat
let design_matrix ~m ~n ~aa_at_site (al : Alignment.t) =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment