Skip to content

Commit a1f7f05

Browse files
committed
Add grammatrix(::KronPolynomial)
1 parent ecd43a1 commit a1f7f05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rect.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ end
7777
KronTrav(PA'QA, PB'QB)
7878
end
7979

80+
grammatrix(P::KronPolynomial) = KronTrav(grammatrix.(P.args)...)
81+
8082

8183
struct ApplyPlan{T, F, Pl}
8284
f::F

0 commit comments

Comments
 (0)