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

Remove vector in definition of DegreeMatrix #459

Merged
merged 3 commits into from
Jun 25, 2024

Conversation

sbaldu
Copy link
Collaborator

@sbaldu sbaldu commented Jun 25, 2024

While working on #454 I noticed that we define the DegreeMatrix by placing the degree value for each node inside a vector. This seems a bit excessive, since it can only be a single unsigned integer, and it makes it a bit more verbose to use as well. I redefined it and updated the getter.
@ZigRazor @nolankramer let me know if you agree :)

@sbaldu sbaldu requested review from ZigRazor and nolankramer June 25, 2024 09:23
@sbaldu sbaldu changed the title Redefine DegreeMatrix Remove vector in definition of DegreeMatrix Jun 25, 2024
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.88%. Comparing base (1057808) to head (ee53d93).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #459      +/-   ##
==========================================
- Coverage   97.88%   97.88%   -0.01%     
==========================================
  Files          87       87              
  Lines       10085    10084       -1     
  Branches      670      670              
==========================================
- Hits         9872     9871       -1     
  Misses        213      213              
Flag Coverage Δ
unittests 97.88% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ZigRazor ZigRazor merged commit 3c98352 into ZigRazor:master Jun 25, 2024
28 of 33 checks passed
@ZigRazor ZigRazor added the enhancement New feature or request label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants