Skip to content

Commit

Permalink
Merge pull request #3916 from meeseeksmachine/auto-backport-of-pr-391…
Browse files Browse the repository at this point in the history
…5-on-v0.14.x

Backport PR #3915 on branch v0.14.x (Fixup test for RANSAC: don't pick duplicate samples #3901)
  • Loading branch information
hmaarrfk committed May 17, 2019
2 parents a760403 + e15c86b commit a90fd22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skimage/measure/tests/test_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def estimate(self, data):
return True

def residuals(self, data):
return 1.0
return np.ones(len(data), dtype=np.double)

# Create dataset with four unique points. Force 10 iterations
# and check that there are no duplicated data points.
Expand Down

0 comments on commit a90fd22

Please sign in to comment.