Skip to content

Commit

Permalink
add notes
Browse files Browse the repository at this point in the history
  • Loading branch information
zkamvar committed Aug 13, 2017
1 parent f7e39e1 commit 68b61b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/poppr_distance.c
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,8 @@ int multinomial_coeff(int* ARR, int n, int* facts) {
*
* *genome_add_sum - pointer to the total number of the genome addition model.
* *tracker - pointer to counter for the number of calculations for addition.
* old_model - a binary indicator of whether or not to calculate the old model
* previously implemented.
==============================================================================*/
void genome_add_calc(int* genos,
int perms,
Expand Down Expand Up @@ -996,7 +998,12 @@ void genome_add_calc(int* genos,
* curr_allele - the current index for the replacement alleles of the full geno
*
* *genome_loss_sum - pointer to the total number of the genome loss model.
* *replacements - a vector containing the replacement alleles for multinomial
* coefficient calculation
* *facts - a vector containing the factorial calculations for the multinomial
* *loss_tracker - pointer to counter for the number of calculations for loss.
* old_model - a binary indicator of whether or not to calculate the old model
* previously implemented.
==============================================================================*/
void genome_loss_calc(int *genos, int nalleles, int *perm_array, int woo,
int *loss, int *add, int *zero_ind, int curr_zero, int zeroes,
Expand Down

0 comments on commit 68b61b5

Please sign in to comment.