Skip to content

Commit

Permalink
Extend float precision
Browse files Browse the repository at this point in the history
  • Loading branch information
Warren Kretzschmar committed May 7, 2020
1 parent ac54448 commit 7c7d8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def Create_Factorial_List(self, max_allele_cnt):
return factorial_list

def Create_nCr_mat(self, max_allele_cnt, factorial_list):
ncr_mat = np.zeros((max_allele_cnt, max_allele_cnt))
ncr_mat = np.zeros((max_allele_cnt, max_allele_cnt), dtype=np.longdouble)
for i in range(max_allele_cnt):
for j in range(max_allele_cnt):
ncr_mat[j, i] = factorial_list[j] / \
Expand Down

0 comments on commit 7c7d8ea

Please sign in to comment.