Skip to content

Commit

Permalink
add missing lambda function to iota_psi
Browse files Browse the repository at this point in the history
  • Loading branch information
unalmis committed Aug 23, 2023
1 parent 2a8f941 commit 092d6a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desc/compute/_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ def _iota_psi(params, transforms, profiles, data, **kwargs):
# Assume iota may be expanded as an even power series of ρ so that this
# condition is satisfied.
data["iota_psi"] = transforms["grid"].replace_at_axis(
data["iota_r"] / data["psi_r"], data["iota_rr"] / data["psi_rr"]
data["iota_r"] / data["psi_r"], lambda: data["iota_rr"] / data["psi_rr"]
)
return data

Expand Down

0 comments on commit 092d6a3

Please sign in to comment.