Skip to content

Commit

Permalink
Issue #58 specified pivot_calibration_aos to try and make recursion c…
Browse files Browse the repository at this point in the history
…learer when using ransac
  • Loading branch information
thompson318 committed Sep 26, 2023
1 parent 549a534 commit 615239c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sksurgerycalibration/algorithms/pivot.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def pivot_calibration_with_ransac(tracking_matrices,
sample = tracking_matrices[indexes]

try:
pointer_offset, pivot_location, _ = pivot_calibration(sample)
pointer_offset, pivot_location, _ = pivot_calibration_aos(sample)
except ValueError:
print("RANSAC, iteration " + str(iter_counter) + ", failed.")
continue
Expand Down

0 comments on commit 615239c

Please sign in to comment.