dwavesystems / dwave-neal

An implementation of a simulated annealing sampler for general Ising model graphs in C++ with a dimod Python wrapper.
https://docs.ocean.dwavesys.com/projects/neal/en/latest
Apache License 2.0
50 stars 44 forks source link

Fix example for old default num_reads #80

Closed JoelPasvolsky closed 4 years ago

JoelPasvolsky commented 4 years ago

@vgoliber noticed that this example was for the outdated num_reads default. Refreshed it also to be doctested and use sampleset.

codecov-commenter commented 4 years ago

Codecov Report

Merging #80 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #80   +/-   ##
=======================================
  Coverage   98.57%   98.57%           
=======================================
  Files           2        2           
  Lines          70       70           
=======================================
  Hits           69       69           
  Misses          1        1           
Impacted Files Coverage Δ
neal/sampler.py 98.48% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cee5fcc...81a22eb. Read the comment docs.

JoelPasvolsky commented 4 years ago

I think this one can be merged, no?