Mercurial > repos > public > sbplib_julia
changeset 419:2958b4ebd565 feature/tensor_composition
Change error message to fit guidelines
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Sun, 18 Oct 2020 21:50:03 +0200 |
| parents | 264af2bb646f |
| children | 98ba9b7effd3 |
| 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 Fri Oct 16 20:35:41 2020 +0200 +++ b/src/LazyTensors/lazy_tensor_operations.jl Sun Oct 18 21:50:03 2020 +0200 @@ -85,7 +85,7 @@ @inline function TensorMappingComposition(t1::TensorMapping{T,R,K}, t2::TensorMapping{T,K,D}) where {T,R,K,D} @boundscheck if domain_size(t1) != range_size(t2) - throw(DimensionMismatch("The first argument has domain size $(domain_size(t1)) while the second has range size $(range_size(t2)) ")) + throw(DimensionMismatch("the first argument has domain size $(domain_size(t1)) while the second has range size $(range_size(t2)) ")) end return new{T,R,K,D, typeof(t1), typeof(t2)}(t1,t2) end
