Skip to content

Commit

Permalink
v0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
miniufo committed Aug 15, 2023
1 parent 0ce80e2 commit 6899d9e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion xinvert/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@

from .finitediffs import FiniteDiff, deriv, deriv2, padBCs

__version__ = "0.1.2"
__version__ = "0.1.3"
Binary file modified xinvert/__pycache__/apps.cpython-310.pyc
Binary file not shown.
Binary file modified xinvert/__pycache__/numbas.cpython-310.pyc
Binary file not shown.
12 changes: 6 additions & 6 deletions xinvert/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1480,15 +1480,15 @@ def __coeffs_Eliassen(force, dims, coords, mParams, iParams, icbc):
maskF, initS, zero = __mask_FS(force, dims, iParams, icbc)

if coords.lower() == 'z-lat': # dims[0] is θ, dims[1] is lat
A = Am
B = Bm
C = Cm
A = zero + Am
B = zero + Bm
C = zero + Cm
F = maskF.where(maskF!=_undeftmp, _undeftmp)

elif coords.lower() == 'cartesian': # dims[0] is θ, dims[1] is r
A = Am
B = Bm
C = Cm
A = zero + Am
B = zero + Bm
C = zero + Cm
F = maskF.where(maskF!=_undeftmp, _undeftmp)

else:
Expand Down

0 comments on commit 6899d9e

Please sign in to comment.