Skip to content

Commit

Permalink
Fix typo in error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Jul 15, 2024
1 parent d9b2fa6 commit b8a5b16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ function tensortrace!(C,
# error for missing backend
TC = typeof(C)
TA = typeof(A)
throw(ArgumentError("No suitable backend found for tensoradd! and tensor types $TC and $TA"))
throw(ArgumentError("No suitable backend found for tensortrace! and tensor types $TC and $TA"))
else
# error for unknown backend
TC = typeof(C)
TA = typeof(A)
throw(ArgumentError("Unknown backend $backend for tensoradd! and tensor types $TC and $TA"))
throw(ArgumentError("Unknown backend $backend for tensortrace! and tensor types $TC and $TA"))
end
end

Expand Down

0 comments on commit b8a5b16

Please sign in to comment.