Skip to content

Commit

Permalink
Remove unnecessary argument
Browse files Browse the repository at this point in the history
  • Loading branch information
jofrevalles committed Oct 31, 2023
1 parent 7cf7325 commit baf5d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Numerics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Perform QR factorization on a tensor.
- `right_inds`: right indices to be used in the QR factorization. Defaults to all indices of `t` except `left_inds`.
- `virtualind`: name of the virtual bond. Defaults to a random `Symbol`.
"""
function LinearAlgebra.qr(t::Tensor, mode::Symbol = :reduced; left_inds = (), right_inds = (), virtualind::Symbol = Symbol(uuid4()), kwargs...) isdisjoint(left_inds, right_inds) ||
function LinearAlgebra.qr(t::Tensor; left_inds = (), right_inds = (), virtualind::Symbol = Symbol(uuid4()), kwargs...) isdisjoint(left_inds, right_inds) ||

Check warning on line 132 in src/Numerics.jl

View check run for this annotation

Codecov / codecov/patch

src/Numerics.jl#L132

Added line #L132 was not covered by tests
throw(ArgumentError("left ($left_inds) and right $(right_inds) indices must be disjoint"))

left_inds, right_inds =
Expand Down

0 comments on commit baf5d24

Please sign in to comment.