| 1 |
Author: Andreas Tille <[email protected]> |
| 2 |
Last-Update: 2026-05-11 |
| 3 |
Bug-Debian: https://bugs.debian.org/1131050 |
| 4 |
Description: Fix for NumPy 2.4 |
| 5 |
|
| 6 |
--- a/brian2/parsing/statements.py |
| 7 |
+++ b/brian2/parsing/statements.py |
| 8 |
@@ -48,7 +48,7 @@ def parse_statement(code): |
| 9 |
('v', '+=', 'dt*(-v/tau)', '') |
| 10 |
""" |
| 11 |
try: |
| 12 |
- parsed = STATEMENT.parse_string(code, parseAll=True) |
| 13 |
+ parsed = STATEMENT.parse_string(code, parse_all=True) |
| 14 |
except ParseException as p_exc: |
| 15 |
raise ValueError( |
| 16 |
"Parsing the statement failed: \n" |