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

Don't count structural zeros for mincoordination #133

Merged
merged 1 commit into from
Nov 10, 2020
Merged

Conversation

pablosanjose
Copy link
Owner

PR #131 computed coordination including structural zeros, unlike the coordination reported by show(::Hamiltonian). This PR fixes that, so that a zero hopping does not count towards mincoordination

@codecov-io
Copy link

codecov-io commented Nov 10, 2020

Codecov Report

Merging #133 (848bbf7) into master (55f3f33) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #133      +/-   ##
==========================================
+ Coverage   60.56%   60.59%   +0.02%     
==========================================
  Files          16       16              
  Lines        2848     2850       +2     
==========================================
+ Hits         1725     1727       +2     
  Misses       1123     1123              
Impacted Files Coverage Δ
src/lattice.jl 82.11% <ø> (ø)
src/hamiltonian.jl 80.30% <100.00%> (+0.05%) ⬆️

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 55f3f33...848bbf7. Read the comment docs.

@pablosanjose pablosanjose merged commit cac8db4 into master Nov 10, 2020
@pablosanjose pablosanjose deleted the fixcoord branch November 23, 2020 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants