Mercurial > repos > public > sbplib_julia
changeset 483:d5032c58c67a feature/compose_identity_mappings
Actually extend the showerror function
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Thu, 05 Nov 2020 10:35:07 +0100 |
| parents | f0f272666a64 |
| children | b995f056ad1f |
| files | src/LazyTensors/lazy_tensor_operations.jl |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/LazyTensors/lazy_tensor_operations.jl Thu Nov 05 10:28:07 2020 +0100 +++ b/src/LazyTensors/lazy_tensor_operations.jl Thu Nov 05 10:35:07 2020 +0100 @@ -103,7 +103,7 @@ sz end -function showerror(io::IO, err::SizeMismatch) +function Base.showerror(io::IO, err::SizeMismatch) print(io, "SizeMismatch: ") print(io, "attempt to apply TensorMapping with domain size $(domain_size(err.tm)) to a domain of size $(err.sz)") end
