@@ -364,7 +364,7 @@ run_random_data(size_t num_samples, size_t num_sites, int seed,
364
364
ret = tree_sequence_builder_alloc (& tsb , num_sites , NULL , 1 , 1 , 0 );
365
365
CU_ASSERT_EQUAL_FATAL (ret , 0 );
366
366
ret = ancestor_matcher_alloc (& ancestor_matcher , & tsb , recombination_rates ,
367
- mismatch_rates , 6 , TSI_EXTENDED_CHECKS );
367
+ mismatch_rates , DBL_MIN , TSI_EXTENDED_CHECKS );
368
368
CU_ASSERT_EQUAL_FATAL (ret , 0 );
369
369
370
370
for (j = 0 ; j < num_sites ; j ++ ) {
@@ -536,7 +536,7 @@ test_matching_one_site(void)
536
536
CU_ASSERT_EQUAL_FATAL (ret , 0 );
537
537
538
538
ret = ancestor_matcher_alloc (
539
- & ancestor_matcher , & tsb , & recombination_rate , & mismatch_rate , 12 , 0 );
539
+ & ancestor_matcher , & tsb , & recombination_rate , & mismatch_rate , DBL_MIN , 0 );
540
540
CU_ASSERT_EQUAL_FATAL (ret , 0 );
541
541
542
542
ret = ancestor_matcher_find_path (
@@ -623,7 +623,7 @@ test_matching_one_site_many_alleles(void)
623
623
CU_ASSERT_EQUAL_FATAL (ret , 0 );
624
624
625
625
ret = ancestor_matcher_alloc (
626
- & ancestor_matcher , & tsb , & recombination_rate , & mismatch_rate , 12 , 0 );
626
+ & ancestor_matcher , & tsb , & recombination_rate , & mismatch_rate , DBL_MIN , 0 );
627
627
CU_ASSERT_EQUAL_FATAL (ret , 0 );
628
628
629
629
haplotype = 0 ;
@@ -682,7 +682,7 @@ test_matching_errors(void)
682
682
CU_ASSERT_EQUAL_FATAL (ret , 0 );
683
683
684
684
ret = ancestor_matcher_alloc (
685
- & ancestor_matcher , & tsb , recombination_rate , mismatch_rate , 12 , 0 );
685
+ & ancestor_matcher , & tsb , recombination_rate , mismatch_rate , DBL_MIN , 0 );
686
686
CU_ASSERT_EQUAL_FATAL (ret , 0 );
687
687
ret = ancestor_matcher_find_path (
688
688
& ancestor_matcher , 0 , 2 , haplotype , match , & num_edges , & left , & right , & parent );
@@ -692,7 +692,7 @@ test_matching_errors(void)
692
692
haplotype [0 ] = 0 ;
693
693
mismatch_rate [0 ] = 1 ;
694
694
ret = ancestor_matcher_alloc (
695
- & ancestor_matcher , & tsb , recombination_rate , mismatch_rate , 12 , 0 );
695
+ & ancestor_matcher , & tsb , recombination_rate , mismatch_rate , DBL_MIN , 0 );
696
696
CU_ASSERT_EQUAL_FATAL (ret , 0 );
697
697
ret = ancestor_matcher_find_path (
698
698
& ancestor_matcher , 0 , 2 , haplotype , match , & num_edges , & left , & right , & parent );
0 commit comments