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 compatibility issues with v1.7+ #181

Merged
merged 3 commits into from
Jul 1, 2021
Merged

Fix compatibility issues with v1.7+ #181

merged 3 commits into from
Jul 1, 2021

Conversation

pablosanjose
Copy link
Owner

@pablosanjose pablosanjose commented Jul 1, 2021

@Max-Borovkov encountered an ambiguity issue with qr(::SMatrix) that arose after JuliaLang/julia#40623. Until StaticArrays.jl catches up and/or Julialang fixes the ambiguity, this PR creates a special codepath for v1.7-beta2+ that employs the updated qr(::SMatrix, NoPivot()) explicit syntax. Also added nightly to CI, let's see what it says.

reintroduce nightly in CI
@codecov-commenter
Copy link

codecov-commenter commented Jul 1, 2021

Codecov Report

Merging #181 (5119a2d) into master (9b9fb61) will increase coverage by 0.30%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #181      +/-   ##
==========================================
+ Coverage   72.08%   72.39%   +0.30%     
==========================================
  Files          19       19              
  Lines        3786     3785       -1     
==========================================
+ Hits         2729     2740      +11     
+ Misses       1057     1045      -12     
Impacted Files Coverage Δ
src/Quantica.jl 100.00% <ø> (ø)
src/tools.jl 58.41% <66.66%> (-0.06%) ⬇️
src/bandstructure.jl 87.27% <100.00%> (ø)
src/diagonalizer.jl 63.01% <0.00%> (-0.50%) ⬇️
src/lattice.jl 85.01% <0.00%> (-0.05%) ⬇️
src/greens.jl 80.43% <0.00%> (+5.65%) ⬆️

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 9b9fb61...5119a2d. Read the comment docs.

@pablosanjose pablosanjose changed the title workaround nopivot issue in v1.7-beta2+ Fix compatibility issues with v1.7+ Jul 1, 2021
@pablosanjose
Copy link
Owner Author

There was another issue with the use of findmin/findmax where we actually want argmin/argmax in latest 1.7 Julia. Fixed.

@pablosanjose pablosanjose merged commit b093cdf into master Jul 1, 2021
@pablosanjose pablosanjose deleted the nopivot branch July 1, 2021 18:43
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