Skip to content

Commit

Permalink
Fix units example
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jul 29, 2023
1 parent 563d8eb commit 875c5aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,9 @@ To do this, we need to use the format of [DynamicQuantities.jl](https://symbolic
```python
# Get numerical arrays to fit:
X = pd.DataFrame(dict(
M=M.value,
m=m.value,
r=r.value,
M=M.to("M_sun").value,
m=m.to("kg").value,
r=r.to("R_earth").value,
))
y = F.value

Expand Down

0 comments on commit 875c5aa

Please sign in to comment.