Skip to content

Commit

Permalink
fix typo in exp!(::TensorMap) errormessage (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorVanthilt authored Sep 30, 2024
1 parent 419f88c commit 1df93b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tensors/linalg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ end
# TensorMap exponentation:
function exp!(t::TensorMap)
domain(t) == codomain(t) ||
error("Exponentional of a tensor only exist when domain == codomain.")
error("Exponential of a tensor only exist when domain == codomain.")
for (c, b) in blocks(t)
copy!(b, LinearAlgebra.exp!(b))
end
Expand Down

0 comments on commit 1df93b8

Please sign in to comment.