Skip to content

Commit 0ac6bbf

Browse files
Fixed mistake in readme
1 parent e9dd3df commit 0ac6bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ time_up = Measure.ABS_TIME > 10.0
292292

293293
Conditions support negation, conjunction (and), and disjunction (or):
294294
```python
295-
abort = not normal_force_within_bounds or time_up
296-
fast_abort = not normal_force_within_bounds and time_up
295+
abort = ~normal_force_within_bounds | time_up
296+
fast_abort = ~normal_force_within_bounds | time_up
297297
```
298298

299299
To check whether a reaction has fired, a callback can be attached:

0 commit comments

Comments
 (0)