QuantumBFS / LuxurySparse.jl

A luxury sparse matrix package for Julia
https://quantumbfs.github.io/LuxurySparse.jl/latest/
Other
33 stars 7 forks source link

fix empty static sparse error #20

Closed Roger-luo closed 5 years ago

Roger-luo commented 5 years ago

occasionally causing https://github.com/QuantumBFS/YaoArrayRegister.jl/pull/17 to fail

A = sprand_hermitian(2) # when empty
staticsize(A)
codecov[bot] commented 5 years ago

Codecov Report

Merging #20 into master will increase coverage by 2.11%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage    70.8%   72.92%   +2.11%     
==========================================
  Files          12       12              
  Lines         483      565      +82     
==========================================
+ Hits          342      412      +70     
- Misses        141      153      +12
Impacted Files Coverage Δ
src/staticize.jl 72.72% <100%> (+2.72%) :arrow_up:
src/linalg.jl 69.34% <0%> (+2.03%) :arrow_up:
src/arraymath.jl 71.73% <0%> (+5.07%) :arrow_up:
src/conversions.jl 54.11% <0%> (+23.76%) :arrow_up:

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 ef045d2...5bf152f. Read the comment docs.