Skip to content

Commit

Permalink
Merge branch 'development' into BenWibking/fix-copy-to-rank-zero
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWibking authored Feb 6, 2024
2 parents 4bfbde7 + edc1dbc commit cbfbfff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/perturbation.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def plot_spectrum1D(pertx, perty, pertz):
# data precision
dtype = np.float64
# ratio of solenoidal to compressive components
if options.f_solenoidal is None or options.f_solenoidal is None:
if (options.f_solenoidal is None) or (options.f_solenoidal=="None"):
f_solenoidal = None
else:
f_solenoidal = min(max(float(options.f_solenoidal), 0.), 1.)
Expand Down

0 comments on commit cbfbfff

Please sign in to comment.