Skip to content

Commit

Permalink
Update cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
itsubaki committed Feb 24, 2024
1 parent 885a54a commit 8b053f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/shor/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func main() {
fmt.Printf("N=%d, a=%d, t=%d, seed=%d.\n\n", N, a, t, seed)

qsim := q.New()
if seed > 1 {
if seed > 0 {
qsim.Rand = rand.Const(seed)
}

Expand Down

0 comments on commit 8b053f3

Please sign in to comment.