Skip to content

Commit

Permalink
0
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Jan 31, 2025
1 parent 30b6285 commit f5d9c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stim/simulators/frame_simulator.pybind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ void stim_pybind::pybind_frame_simulator_methods(
>>> r.shape
(7,)
>>> r[6] & 0b1110_0000 # zero'd padding bits
np.uint8(0)
0
>>> r2 = sim.generate_bernoulli_samples(53, p=0.2, bit_packed=True, out=r)
>>> r is r2 # Check request to reuse r worked.
Expand Down

0 comments on commit f5d9c4f

Please sign in to comment.