Skip to content

Commit

Permalink
fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger-luo committed Mar 22, 2019
1 parent 04f1e08 commit 296cad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/abstract_register.jl
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Measure current active qubits or qubits at `locs` and set the register to specif
@interface measure_collapseto!(::AbstractRegister; config::Int=0)

# focus context
for FUNC in [:measure!, :measure, :measure_collapseto!]
for FUNC in [:measure!, :measure, :measure_collapseto!, :measure_remove!]
@eval function $FUNC(reg::AbstractRegister, locs; kwargs...)
focus!(reg, locs)
res = $FUNC(reg; kwargs...)
Expand Down

0 comments on commit 296cad0

Please sign in to comment.