Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
unalmis committed Dec 19, 2024
1 parent 9848354 commit 548674e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions desc/compute/_fast_ion.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,9 @@ def _Gamma_c(params, transforms, profiles, data, **kwargs):
num_well = kwargs.get("num_well", Y_B * num_transit)
batch_size = kwargs.get("batch_size", None)
spline = kwargs.get("spline", True)
if "fieldline_quad" in kwargs:
fieldline_quad = kwargs["fieldline_quad"]
else:
fieldline_quad = leggauss(Y_B // 2)
fieldline_quad = (
kwargs["fieldline_quad"] if "fieldline_quad" in kwargs else leggauss(Y_B // 2)
)
quad = (
kwargs["quad"]
if "quad" in kwargs
Expand Down
2 changes: 1 addition & 1 deletion desc/integrals/bounce_integral.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _swap_pl(f):


class Bounce2D(Bounce):
"""Computes bounce integrals using two-dimensional pseudo-spectral methods.
"""Computes bounce integrals using pseudo-spectral methods.
The bounce integral is defined as ∫ f(ρ,α,λ,ℓ) dℓ where
Expand Down

0 comments on commit 548674e

Please sign in to comment.