Skip to content

Commit

Permalink
Update hoomd-example.py
Browse files Browse the repository at this point in the history
edit type in row documentation. remove s from 'devices' --> 'device' 

OLD: simulation = hoomd.Simulation(devices=cpu) 
NEW: simulation = hoomd.Simulation(device=cpu)
  • Loading branch information
kmjens authored Nov 13, 2024
1 parent 470b470 commit fe2244b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/guide/concepts/hoomd-example.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def action_implementation(job, communicator):
"""Implement the action on a single job."""
# Your HOOMD-blue simulation goes here. Use the given communicator. For example:
# cpu = hoomd.device.CPU(communicator=communicator)
# simulation = hoomd.Simulation(devices=cpu)
# simulation = hoomd.Simulation(device=cpu)


def action(*jobs):
Expand Down

0 comments on commit fe2244b

Please sign in to comment.