Skip to content

Commit b81c67e

Browse files
committed
Small updates
1 parent 0d8a6d0 commit b81c67e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/tensors/linalg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ function exp!(t::TensorMap)
431431
domain(t) == codomain(t) ||
432432
error("Exponential of a tensor only exist when domain == codomain.")
433433
for (c, b) in blocks(t)
434-
copy!(b, exp!(b))
434+
copy!(b, LinearAlgebra.exp!(b))
435435
end
436436
return t
437437
end

test/tensors/factorizations.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ for V in spacelist
271271
trunc = truncrank(dim(domain(S)) ÷ 2) & trunctol(; atol = λ - 10eps(λ))
272272
U5, S5, Vᴴ5 = @constinferred svd_trunc(t; trunc)
273273
@test t * Vᴴ5' U5 * S5
274-
@test isisometry(U5)
275-
@test isisometry(Vᴴ5; side = :right)
274+
@test isisometric(U5)
275+
@test isisometric(Vᴴ5; side = :right)
276276
@test minimum(minimum, values(LinearAlgebra.diag(S5))) >= λ
277277
@test dim(domain(S5)) dim(domain(S)) ÷ 2
278278
end

0 commit comments

Comments
 (0)