Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewware committed May 6, 2020
1 parent eb08016 commit 6742f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state-tomo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ struct MLStateTomo
end
end
sv = sum(v)
sv_proxy = proxy = map(x -> any(abs(x) > 1e-14), sv)
sv_proxy = map(x -> any(abs(x) > 1e-14), sv)
if ! LinearAlgebra.isdiag(sv_proxy) ||
!isapprox(maximum(abs.(LinearAlgebra.diag(sv)))-
minimum(abs.(LinearAlgebra.diag(sv))),0.0,atol=1e-12)
Expand Down

0 comments on commit 6742f11

Please sign in to comment.