Skip to content

Commit

Permalink
change np.math.factorial to math.factorial
Browse files Browse the repository at this point in the history
  • Loading branch information
smroid committed Nov 5, 2024
1 parent 785a9f7 commit 45287a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tetra3/tetra3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,7 @@ def solve_from_centroids(self, star_centroids, size, fov_estimate=None, fov_max_

# Find the possible range of edge ratio patterns these four image centroids
# could correspond to.
pattlen = int(np.math.factorial(p_size) / 2 / np.math.factorial(p_size - 2) - 1)
pattlen = int(math.factorial(p_size) / 2 / math.factorial(p_size - 2) - 1)
image_pattern_edge_ratio_min = np.ones(pattlen)
image_pattern_edge_ratio_max = np.zeros(pattlen)

Expand Down

0 comments on commit 45287a4

Please sign in to comment.