Skip to content

Commit

Permalink
Merge pull request #7 from sobolevn/patch-1
Browse files Browse the repository at this point in the history
Fix code highlight in README.md
  • Loading branch information
ifnesi authored Jun 21, 2024
2 parents 0a875ac + 468485a commit 8617de3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The script `calculateAveragePypy.py` was created by [donalm](https://github.com/
[Olivier Scalbert](https://github.com/oscalbert) has made a simple but incredible suggestion where performance increased by an average of 15% (table above has been updated), thank you :slightly_smiling_face:

His suggestions were to change from:
```
```python
if measurement < result[location][0]:
result[location][0] = measurement
if measurement > result[location][1]:
Expand All @@ -64,7 +64,7 @@ result[location][3] += 1
```

to:
```
```python
_result = result[location]
if measurement < _result[0]:
_result[0] = measurement
Expand Down

0 comments on commit 8617de3

Please sign in to comment.