Skip to content

Commit

Permalink
np.bool -> bool
Browse files Browse the repository at this point in the history
  • Loading branch information
MedericFourmy committed Feb 14, 2024
1 parent 242a1ce commit cbd02f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def mark_inliers(cand_inputs, cand_matched):
)
infos["is_inlier"] = infos["is_inlier"].astype(float)
infos.loc[~np.isfinite(infos.loc[:, "is_inlier"].astype(float)), "is_inlier"] = 0
infos["is_inlier"] = infos["is_inlier"].astype(np.bool)
infos["is_inlier"] = infos["is_inlier"].astype(bool)

Check warning on line 184 in happypose/pose_estimators/cosypose/cosypose/visualization/multiview.py

View check run for this annotation

Codecov / codecov/patch

happypose/pose_estimators/cosypose/cosypose/visualization/multiview.py#L182-L184

Added lines #L182 - L184 were not covered by tests
cand_inputs.infos = infos
return cand_inputs

Expand Down

0 comments on commit cbd02f8

Please sign in to comment.