Skip to content

Commit

Permalink
[JOSS Review] Fix Python syntax of minimal example
Browse files Browse the repository at this point in the history
Fix the Python syntax of the minimal example in the `README.py`. Add
a trailing comma to the `computation_points` argument when calling
`polyhedral_gravity.evaluate()`.
  • Loading branch information
santisoler committed Mar 6, 2024
1 parent ebe47ec commit a5cabe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ The simplest way to compute the gravity is to use the `evaluate` function:
potential, acceleration, tensor = polyhedral_gravity.evaluate(
polyhedral_source=(cube_vertices, cube_faces),
density=cube_density,
computation_points=computation_point
computation_points=computation_point,
parallel=True
)
```
Expand Down

0 comments on commit a5cabe3

Please sign in to comment.