Skip to content

Commit

Permalink
Merge pull request #745 from PlasmaControl/dd/rescale
Browse files Browse the repository at this point in the history
rescale hotfix
  • Loading branch information
ddudt authored Nov 13, 2023
2 parents a024b8a + 4093126 commit 3eb55a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions desc/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,8 @@ def rescale(eq, L=("R0", None), B=("B0", None), verbose=0):
if eq.current is not None:
eq.c_l *= cL * cB

# boundary & axis
eq.axis = eq.get_axis()
eq.surface = eq.get_surface_at(rho=1)

return eq

0 comments on commit 3eb55a0

Please sign in to comment.