Skip to content

Commit e476b83

Browse files
committed
Fix invalid syntax for julia 1.6
1 parent 7f907f3 commit e476b83

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/tensors/linalg.jl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ end
390390
function catdomain(t1::AbstractTensorMap{S,N₁,1},
391391
t2::AbstractTensorMap{S,N₁,1}) where {S,N₁}
392392
codomain(t1) == codomain(t2) ||
393-
throw(SpaceMismatch("codomains of tensors to concatenate must match:\n\
394-
$(codomain(t1))$(codomain(t2))"))
393+
throw(SpaceMismatch("codomains of tensors to concatenate must match:\n" *
394+
"$(codomain(t1))$(codomain(t2))"))
395395
V1, = domain(t1)
396396
V2, = domain(t2)
397397
isdual(V1) == isdual(V2) ||
@@ -408,9 +408,8 @@ end
408408
function catcodomain(t1::AbstractTensorMap{S,1,N₂},
409409
t2::AbstractTensorMap{S,1,N₂}) where {S,N₂}
410410
domain(t1) == domain(t2) ||
411-
throw(SpaceMismatch("domains of tensors to concatenate must match:\n\
412-
$(domain(t1))$(domain(t2))"))
413-
411+
throw(SpaceMismatch("domains of tensors to concatenate must match:\n" *
412+
"$(domain(t1))$(domain(t2))"))
414413
V1, = codomain(t1)
415414
V2, = codomain(t2)
416415
isdual(V1) == isdual(V2) ||

0 commit comments

Comments
 (0)