Closed mhauru closed 4 years ago
Great change; thanks for catching this.
Merging #24 into master will increase coverage by
0.82%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #24 +/- ##
==========================================
+ Coverage 76.85% 77.68% +0.82%
==========================================
Files 27 27
Lines 2528 2541 +13
==========================================
+ Hits 1943 1974 +31
+ Misses 585 567 -18
Impacted Files | Coverage Δ | |
---|---|---|
src/tensors/factorizations.jl | 86.95% <100%> (+2.24%) |
:arrow_up: |
src/tensors/abstracttensor.jl | 72.58% <0%> (-5.06%) |
:arrow_down: |
src/tensors/tensoroperations.jl | 74.42% <0%> (-1.77%) |
:arrow_down: |
src/tensors/tensor.jl | 60.86% <0%> (ø) |
:arrow_up: |
src/spaces/productspace.jl | 51.94% <0%> (ø) |
:arrow_up: |
src/sectors/sectors.jl | 58.22% <0%> (ø) |
:arrow_up: |
src/fusiontrees/iterator.jl | 92.22% <0%> (+0.08%) |
:arrow_up: |
src/sectors/product.jl | 82.19% <0%> (+0.5%) |
:arrow_up: |
src/tensors/linalg.jl | 75.14% <0%> (+1.2%) |
:arrow_up: |
... and 4 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 e1bce2d...9cf6412. Read the comment docs.
In the current master, observe the following:
The truncation error has been moved to being the first return value. Fixing this is of course a breaking change, but I really hope noone has code that does things like
err, U, S, Vt = svd(t', indsout, indsin)
.By the way, this only comes up when specifying the index lists. Just calling
svd(t)
incurs acopy(t)
, which removes the adjoint structure, and thusI also included a test that catches this, by trying all the decomposition tests also on
AdjointTensorMap
s.