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

Fix for complex spectra #125

Merged
merged 1 commit into from
Nov 4, 2020
Merged

Fix for complex spectra #125

merged 1 commit into from
Nov 4, 2020

Conversation

pablosanjose
Copy link
Owner

Complex eigenvalues made the merging of degeneracies in bandstructure trip. We fix this by making a smarter Subspace type that converts complex eigenvalues to the type of momenta. We also make sure the approxruns::Runs iterator deals with complex eigenvalues correctly.

@codecov-io
Copy link

codecov-io commented Nov 4, 2020

Codecov Report

Merging #125 into master will decrease coverage by 2.57%.
The diff coverage is 95.65%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #125      +/-   ##
==========================================
- Coverage   59.83%   57.26%   -2.58%     
==========================================
  Files          16       16              
  Lines        2791     2623     -168     
==========================================
- Hits         1670     1502     -168     
  Misses       1121     1121              
Impacted Files Coverage Δ
src/bandstructure.jl 84.95% <95.23%> (-1.51%) ⬇️
src/diagonalizer.jl 21.87% <100.00%> (-7.08%) ⬇️
src/iterators.jl 66.11% <100.00%> (-2.64%) ⬇️
src/convert.jl 16.66% <0.00%> (-14.11%) ⬇️
src/mesh.jl 76.92% <0.00%> (-8.27%) ⬇️
src/parametric.jl 69.89% <0.00%> (-7.77%) ⬇️
src/model.jl 65.44% <0.00%> (-7.23%) ⬇️
src/lattice.jl 78.32% <0.00%> (-3.50%) ⬇️
src/hamiltonian.jl 76.27% <0.00%> (-3.20%) ⬇️
src/tools.jl 32.86% <0.00%> (-2.98%) ⬇️
... and 8 more

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 6f0fe7b...4d51159. Read the comment docs.

comment

fix

test

unrelated fix

another fix
@pablosanjose pablosanjose merged commit 28d8260 into master Nov 4, 2020
@pablosanjose pablosanjose deleted the simplediago branch November 4, 2020 11:28
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