• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / retworkx / 506
97%

Build:
DEFAULT BRANCH: master
Ran 09 Jun 2020 10:57AM UTC
Jobs 1
Files 3
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jun 2020 10:54AM UTC coverage: 82.664% (+0.7%) from 81.995%
506

push

travis-ci-com

web-flow
Fix edge case with *_adjacency_matrix() functions (#80)

This commit fixes an edge case with the adjacency matrix functions
around holes in the node indexes. Previously the nodes were assumed to
be contiguous but in the case of node removals it was possible to have
holes in the list of indexes. This would result in a matrix that was
larger than expected because it was building it based on the maximum
number of nodes during the lifetime of the graph. To fix this issue a
new attribute is added to PyDAG and PyGraph to track if nodes have been
removed. If nodes have been removed a mapping of node_ids to compressed
indexes are built and as the edges are iterated over the compressed
index is used in the matrix. If no nodes are removed the mapping step
is skipped since it is unecessary.

40 of 40 new or added lines in 2 files covered. (100.0%)

968 of 1171 relevant lines covered (82.66%)

1762.35 hits per line

Jobs
ID Job ID Ran Files Coverage
3 506.3 09 Jun 2020 10:57AM UTC 0
82.66
Travis Job 506.3
Source Files on build 506
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #506
  • 5f53f3d3 on github
  • Prev Build on master (#501)
  • Next Build on master (#528)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc