Skip to content

Commit 4dcd476

Browse files
Merge pull request #52 from Ruibin-Liu/patch-1
Typo in defining `PotentialNBodySystem`
2 parents 350cc70 + 39e42d7 commit 4dcd476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The Lennard-Jones potential is used in molecular dynamics simulations for approx
8181
`PotentialNBodySystem` structure represents systems with a custom set of potentials. In other words, the user determines the ways in which the particles are allowed to interact. One can pass the bodies and parameters of interaction potentials into that system. In the case the potential parameters are not set, the particles will move at constant velocities without acceleration during the simulation.
8282

8383
```julia
84-
system = PotentialNBodySystem(bodies, Dict(:gravitational => g_parameters, electrostatic: => el_potential))
84+
system = PotentialNBodySystem(bodies, Dict(:gravitational => g_parameters, :electrostatic => el_potential))
8585
```
8686

8787
### Custom Potential

0 commit comments

Comments
 (0)