Skip to content

Commit

Permalink
Fix final exercise example
Browse files Browse the repository at this point in the history
Adds the missing args to the `MDI_Send` command in the last exercise.

Specifically adds the number of atoms and the data type.
  • Loading branch information
Lnaden authored May 14, 2024
1 parent d78a2ee commit 469fd18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ for i in range(nsteps):
# Send the forces to LAMMPS
mdi.MDI_Send_Command(">FORCES", lammps)
mdi.MDI_Send(ani_forces, lammps)
mdi.MDI_Send(ani_forces, 3 * natoms, mdi.MDI_DOUBLE, lammps)
:::
```
Expand Down

0 comments on commit 469fd18

Please sign in to comment.