Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger-luo committed Sep 26, 2020
1 parent 58e6b47 commit 828ba1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instruct.jl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function YaoBase.instruct!(
U1::SDPermMatrix{T},
(loc, )::Tuple{Int},
) where {T}
U1.perm[1] == 1 && return instruct!(state, Diagonal(U1), loc)
U1.perm[1] == 1 && return instruct!(state, Diagonal(U1), (loc, ))
mask = bmask(loc)
b, c = U1.vals
step = 1 << (loc - 1)
Expand Down

0 comments on commit 828ba1f

Please sign in to comment.