@@ -10666,19 +10666,29 @@ TreeSequence_k_way_ld_matrix(TreeSequence *self, PyObject *args, PyObject *kwds,
10666
10666
PyObject * ret = NULL ;
10667
10667
static char * kwlist [] = { "sample_set_sizes" , "sample_sets" , "indexes" , "row_sites" ,
10668
10668
"col_sites" , "row_positions" , "column_positions" , "mode" , NULL };
10669
-
10670
- PyObject * row_sites = NULL , * col_sites = NULL , * row_positions = NULL ,
10671
- * col_positions = NULL , * sample_set_sizes = NULL , * sample_sets = NULL ,
10672
- * indexes = NULL ;
10673
- PyArrayObject * row_sites_array = NULL , * col_sites_array = NULL ,
10674
- * row_positions_array = NULL , * col_positions_array = NULL ,
10675
- * sample_sets_array = NULL , * sample_set_sizes_array = NULL ,
10676
- * indexes_array = NULL , * result_matrix = NULL ;
10677
- tsk_id_t * row_sites_parsed = NULL , * col_sites_parsed = NULL ;
10678
- double * row_positions_parsed = NULL , * col_positions_parsed = NULL ;
10669
+ PyObject * row_sites = NULL ;
10670
+ PyObject * col_sites = NULL ;
10671
+ PyObject * row_positions = NULL ;
10672
+ PyObject * col_positions = NULL ;
10673
+ PyObject * sample_set_sizes = NULL ;
10674
+ PyObject * sample_sets = NULL ;
10675
+ PyObject * indexes = NULL ;
10676
+ PyArrayObject * row_sites_array = NULL ;
10677
+ PyArrayObject * col_sites_array = NULL ;
10678
+ PyArrayObject * row_positions_array = NULL ;
10679
+ PyArrayObject * col_positions_array = NULL ;
10680
+ PyArrayObject * sample_sets_array = NULL ;
10681
+ PyArrayObject * sample_set_sizes_array = NULL ;
10682
+ PyArrayObject * indexes_array = NULL ;
10683
+ PyArrayObject * result_matrix = NULL ;
10684
+ tsk_id_t * row_sites_parsed = NULL ;
10685
+ tsk_id_t * col_sites_parsed = NULL ;
10686
+ double * row_positions_parsed = NULL ;
10687
+ double * col_positions_parsed = NULL ;
10679
10688
npy_intp * shape , result_dim [3 ] = { 0 , 0 , 0 };
10680
10689
char * mode = NULL ;
10681
- tsk_size_t num_sample_sets , num_set_index_tuples ;
10690
+ tsk_size_t num_sample_sets ;
10691
+ tsk_size_t num_set_index_tuples ;
10682
10692
tsk_flags_t options = 0 ;
10683
10693
int err ;
10684
10694
0 commit comments