diff --git a/aslam_offline_calibration/kalibr/python/kalibr_camera_calibration/CameraCalibrator.py b/aslam_offline_calibration/kalibr/python/kalibr_camera_calibration/CameraCalibrator.py index cba2c18..2e1eb1b 100644 --- a/aslam_offline_calibration/kalibr/python/kalibr_camera_calibration/CameraCalibrator.py +++ b/aslam_offline_calibration/kalibr/python/kalibr_camera_calibration/CameraCalibrator.py @@ -374,8 +374,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