brainstate 0.0.1.post20240622__py2.py3-none-any.whl → 0.0.1.post20240623__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
brainstate/_module.py CHANGED
@@ -1213,7 +1213,7 @@ class Delay(ExtendedUpdateWithBA, DelayedInit):
1213
1213
  assert self.history is not None, 'The delay history is not initialized.'
1214
1214
  assert delay_step is not None, 'The delay step should be given.'
1215
1215
 
1216
- if environ.get(environ.JIT_ERROR_CHECK, True):
1216
+ if environ.get(environ.JIT_ERROR_CHECK, False):
1217
1217
  def _check_delay(delay_len):
1218
1218
  raise ValueError(f'The request delay length should be less than the '
1219
1219
  f'maximum delay {self.max_length}. But we got {delay_len}')
@@ -1263,7 +1263,7 @@ class Delay(ExtendedUpdateWithBA, DelayedInit):
1263
1263
  current_time = environ.get(environ.T, desc='The current time.')
1264
1264
  dt = environ.get_dt()
1265
1265
 
1266
- if environ.get(environ.JIT_ERROR_CHECK, True):
1266
+ if environ.get(environ.JIT_ERROR_CHECK, False):
1267
1267
  def _check_delay(args):
1268
1268
  t_now, t_delay = args
1269
1269
  raise ValueError(f'The request delay time should be within '
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: brainstate
3
- Version: 0.0.1.post20240622
3
+ Version: 0.0.1.post20240623
4
4
  Summary: A State-based Transformation System for Brain Dynamics Programming.
5
5
  Home-page: https://github.com/brainpy/brainstate
6
6
  Author: BrainPy Team
@@ -1,5 +1,5 @@
1
1
  brainstate/__init__.py,sha256=DwgnJOghZ_qeFh0a_roiaMCDH-V_F6Ve7by3xjSVrwk,1408
2
- brainstate/_module.py,sha256=lIfRRev49QQfq55PBm9YohtvPsMWdLHNhrfBjMjD6c8,52623
2
+ brainstate/_module.py,sha256=RN02rAqgsVVAHeZpXIpZEZSLbfo5YOstmTLlD-JcnN4,52625
3
3
  brainstate/_module_test.py,sha256=TJlxR4R5bf621y68hTgzTaf0PBN9YmVhwoGKNcpXbpE,7821
4
4
  brainstate/_state.py,sha256=RWnLjMeaidxWXNAA0X-8mxj4i61j3T8w5KhugACUYhI,11422
5
5
  brainstate/_state_test.py,sha256=HDdipndRLhEHWEdTmyT1ayEBkbv6qJKykfCWKI6yJ_E,1253
@@ -57,8 +57,8 @@ brainstate/transform/_jit_test.py,sha256=5ltT7izh_OS9dcHnRymmVhq01QomjwZGdA8XzwJ
57
57
  brainstate/transform/_make_jaxpr.py,sha256=q3OPy-1Gg0mVaB9pgSTWzzP8FSCAgquSjP-pDEw3Tpg,29970
58
58
  brainstate/transform/_make_jaxpr_test.py,sha256=K3vRUBroDTCCx0lnmhgHtgrlWvWglJO2f1K2phTvU70,3819
59
59
  brainstate/transform/_progress_bar.py,sha256=VGoRZPRBmB8ELNwLc6c7S8QhUUTvn0FY46IbBm9cuYM,3502
60
- brainstate-0.0.1.post20240622.dist-info/LICENSE,sha256=VZe9u1jgUL2eCY6ZPOYgdb8KCblCHt8ECdbtJid6e1s,11550
61
- brainstate-0.0.1.post20240622.dist-info/METADATA,sha256=N-I84Xg5_9MT9p4LjmQjpk4GcPV5iDR3J8LDa9ppKnM,3814
62
- brainstate-0.0.1.post20240622.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
63
- brainstate-0.0.1.post20240622.dist-info/top_level.txt,sha256=eQbGgKn0ptx7FDWuua0V0wr4K1VHi2iOUCYo3fUQBRA,11
64
- brainstate-0.0.1.post20240622.dist-info/RECORD,,
60
+ brainstate-0.0.1.post20240623.dist-info/LICENSE,sha256=VZe9u1jgUL2eCY6ZPOYgdb8KCblCHt8ECdbtJid6e1s,11550
61
+ brainstate-0.0.1.post20240623.dist-info/METADATA,sha256=ezSoiXSzav8KX7NPa8jfR9aWqVPWwh6d46RZnac_Mdg,3814
62
+ brainstate-0.0.1.post20240623.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
63
+ brainstate-0.0.1.post20240623.dist-info/top_level.txt,sha256=eQbGgKn0ptx7FDWuua0V0wr4K1VHi2iOUCYo3fUQBRA,11
64
+ brainstate-0.0.1.post20240623.dist-info/RECORD,,