Skip to content

Commit

Permalink
Merge pull request #541 from rcdorsey/patch-2
Browse files Browse the repository at this point in the history
Fix typo in line 36 (retunrs -> returns)
  • Loading branch information
hannorein committed May 31, 2021
2 parents 05ac971 + 24e6a3b commit 748c68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/removingparticles.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You can remove a particle using this index as shown in the following code:
In most cases you want to (set the argument to 1).
For simulation with many particles (millions), this might be slow. In that case set this argument to 0.

The function retursn 1 if the particle was successfully removed, and 0 if the index was out of range.
The function returns 1 if the particle was successfully removed, and 0 if the index was out of range.

=== "Python"
```python
Expand Down

0 comments on commit 748c68d

Please sign in to comment.