-
Notifications
You must be signed in to change notification settings - Fork 65
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
Fix doctests post dwave.samplers
switch
#550
Fix doctests post dwave.samplers
switch
#550
Conversation
@@ -13,11 +13,11 @@ structured to represent variable ``a`` with a long chain. | |||
|
|||
>>> import networkx as nx | |||
>>> import dimod | |||
>>> import greedy | |||
>>> import dwave.samplers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not from dwave.samplers import SteepestDescentSampler
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why import greedy
and not from greedy import SteepestDescentSampler
? 🙂
child_sampler (:class:`dimod.Sampler`): | ||
A dimod sampler, such as a :class:`~dwave.system.samplers.DWaveSampler()`, | ||
that has flux bias controls. | ||
child_sampler (:class:`dimod.Sampler`): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #550 +/- ##
==========================================
- Coverage 88.75% 85.61% -3.15%
==========================================
Files 21 21
Lines 1654 1654
==========================================
- Hits 1468 1416 -52
- Misses 186 238 +52 ☔ View full report in Codecov by Sentry. |
No description provided.