Skip to content

Commit

Permalink
Merge branch 'release/0.21.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Mar 14, 2024
2 parents 2cfbbbf + 8515ae2 commit 6ee2e36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions climetlab/core/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,18 @@ def build_actions(self, kwargs):
def ascending(a, b):
if a == b:
return 0
if a > b:
if b is None or a > b:
return 1
if a < b:
if a is None or a < b:
return -1
raise ValueError(f"{a},{b}")

def descending(a, b):
if a == b:
return 0
if a > b:
if b is None or a > b:
return -1
if a < b:
if a is None or a < b:
return 1
raise ValueError(f"{a},{b}")

Expand Down
2 changes: 1 addition & 1 deletion climetlab/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.21.4
0.21.5

0 comments on commit 6ee2e36

Please sign in to comment.