Skip to content

Commit c7f33ea

Browse files
committed
mystery solved, I was wondering why that looked so weird. it was the j in index typo
1 parent f5b0cc0 commit c7f33ea

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

c/tests/test_stats.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2637,13 +2637,11 @@ test_paper_ex_two_site(void)
26372637

26382638
tsk_treeseq_from_text(&ts, 10, paper_ex_nodes, paper_ex_edges, NULL, paper_ex_sites,
26392639
paper_ex_mutations, paper_ex_individuals, NULL, 0);
2640-
double truth_three_index_tuples[27] = { 1, 1, 0.71111111111111114,
2641-
0.1111111111111111, 0.1111111111111111, -0.0074074074074074042,
2642-
0.1111111111111111, 0.1111111111111111, -0.0074074074074074042,
2643-
0.1111111111111111, 0.1111111111111111, -0.0074074074074074042, 1, 1,
2644-
0.70833333333333326, 1, 1, 0.70833333333333326, 0.1111111111111111,
2645-
0.1111111111111111, -0.0074074074074074042, 1, 1, 0.70833333333333326, 1, 1,
2646-
0.70833333333333326 };
2640+
double truth_three_index_tuples[27] = { 1, 1, 0, 0.1111111111111111,
2641+
0.1111111111111111, 0, 0.1111111111111111, 0.1111111111111111, 0,
2642+
0.1111111111111111, 0.1111111111111111, 0, 1, 1, 0.94921874999999978, 1, 1,
2643+
0.94921874999999978, 0.1111111111111111, 0.1111111111111111, 0, 1, 1,
2644+
0.94921874999999978, 1, 1, 0.94921874999999978 };
26472645

26482646
tsk_size_t sample_set_sizes[3], num_index_tuples;
26492647
tsk_id_t sample_sets[ts.num_samples * 3], index_tuples[2 * 3] = { 0, 1, 0, 0, 0, 2 };

0 commit comments

Comments
 (0)