Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLN: fix solve_potts_approx benchmark #779

Merged
merged 1 commit into from
Dec 20, 2018

Conversation

qwhelan
Copy link
Contributor

@qwhelan qwhelan commented Dec 17, 2018

API seems to have changed in solve_potts_approx() at some point, leading to a benchmark failure.

@@ -17,4 +17,4 @@ def time_detect_regressions(self):
step_detect.detect_regressions(self.y)

def time_solve_potts_approx(self):
step_detect.solve_potts_approx(self.y, 0.3, p=1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be gamma=0.3. The option for setting p was removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fixed

@qwhelan qwhelan force-pushed the step_detect_bench_fix branch from 34e2036 to 62a8d63 Compare December 20, 2018 05:50
@pv pv merged commit 12a03ec into airspeed-velocity:master Dec 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants