Skip to content

Commit 5c9668c

Browse files
committed
Error message in TimesOperator
1 parent 05be004 commit 5c9668c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Operators/general/algebra.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ function check_times(ops)
226226
for k = 1:length(ops)-1
227227
size(ops[k], 2) == size(ops[k+1], 1) || throw(ArgumentError("incompatible operator sizes"))
228228
spacescompatible(domainspace(ops[k]), rangespace(ops[k+1])) ||
229-
throw(ArgumentError("incompatible spaces at index $k, received $(domainspace(ops[k])) and $(rangespace(ops[k+1])); ops = $ops"))
229+
throw(ArgumentError("incompatible spaces at index $k, received $(domainspace(ops[k])) and $(rangespace(ops[k+1]))"))
230230
end
231231
return nothing
232232
end

0 commit comments

Comments
 (0)