Skip to content

Commit

Permalink
+ numpy 2.10 drops float, with python native float support
Browse files Browse the repository at this point in the history
  • Loading branch information
jaku-jaku committed Oct 21, 2023
1 parent e52b429 commit 738638a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def getReprojectionErrorStatistics(all_rerrs):
rerr_matrix = np.array(rerr_matrix)
gc.enable()

mean = np.mean(rerr_matrix, 0, dtype=np.float)
std = np.std(rerr_matrix, 0, dtype=np.float)
mean = np.mean(rerr_matrix, 0, dtype=float)
std = np.std(rerr_matrix, 0, dtype=float)

return mean, std

Expand Down

0 comments on commit 738638a

Please sign in to comment.