Skip to content

Commit

Permalink
oops local numpy was low version
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Jan 31, 2025
1 parent f5d9c4f commit 1378a38
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/python_api_reference_vDev.md
Original file line number Diff line number Diff line change
Expand Up @@ -8028,7 +8028,7 @@ def generate_bernoulli_samples(
>>> r.shape
(7,)
>>> r[6] & 0b1110_0000 # zero'd padding bits
0
np.uint8(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
2 changes: 1 addition & 1 deletion doc/stim.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6350,7 +6350,7 @@ class FlipSimulator:
>>> r.shape
(7,)
>>> r[6] & 0b1110_0000 # zero'd padding bits
0
np.uint8(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
2 changes: 1 addition & 1 deletion glue/python/src/stim/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6350,7 +6350,7 @@ class FlipSimulator:
>>> r.shape
(7,)
>>> r[6] & 0b1110_0000 # zero'd padding bits
0
np.uint8(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
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
0
np.uint8(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 1378a38

Please sign in to comment.