We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0365612 commit 43cb3e3Copy full SHA for 43cb3e3
src/spaces/homspace.jl
@@ -354,6 +354,8 @@ end
354
#----------------
355
# TODO: is this something we want to cache?
356
function diagonalblockstructure(W::HomSpace)
357
+ ((numin(W) == numout(W) == 1) && domain(W) == codomain(W)) ||
358
+ throw(ArgumentError("Input space is not diagonal"))
359
structure = SectorDict{sectortype(W),UnitRange{Int}}() # range
360
offset = 0
361
dom = domain(W)[1]
0 commit comments