dwavesystems / dwave-system

An API for easily incorporating the D-Wave system as a sampler, either directly or through Leap's cloud-based hybrid samplers
https://docs.ocean.dwavesys.com/
Apache License 2.0
87 stars 62 forks source link

Replace deprecated `bqm.iter_variables` #455

Closed mcfarljm closed 2 years ago

mcfarljm commented 2 years ago

Eliminate deprecation warning that occurs inside LeapHybridBQMSampler._sample_large

codecov-commenter commented 2 years ago

Codecov Report

Merging #455 (b16f7f4) into master (a04dced) will decrease coverage by 3.45%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #455      +/-   ##
==========================================
- Coverage   90.01%   86.56%   -3.46%     
==========================================
  Files          23       23              
  Lines        1533     1533              
==========================================
- Hits         1380     1327      -53     
- Misses        153      206      +53     
Impacted Files Coverage Δ
dwave/system/samplers/leap_hybrid_sampler.py 61.42% <0.00%> (-14.29%) :arrow_down:
dwave/system/samplers/clique.py 74.35% <0.00%> (-10.26%) :arrow_down:
dwave/system/samplers/dwave_sampler.py 84.75% <0.00%> (-3.05%) :arrow_down:
dwave/system/composites/embedding.py 96.00% <0.00%> (-1.15%) :arrow_down:

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 a04dced...b16f7f4. Read the comment docs.