Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 127645a

Browse files
author
Ehsan Totoni
committed
hack to prevent sort ascending flag issue (seen in CI)
1 parent 980e347 commit 127645a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

hpat/hiframes/sort.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ def __init__(self, df_in, df_out, key_arrs, out_key_arrs, df_in_vars,
4646
self.df_in_vars = df_in_vars
4747
self.df_out_vars = df_out_vars
4848
self.inplace = inplace
49+
# HACK make sure ascending is boolean (seen error for none in CI)
50+
# TODO: fix source of issue
51+
if not isinstance(ascending, bool):
52+
ascending = True
4953
self.ascending = ascending
5054
self.loc = loc
5155

0 commit comments

Comments
 (0)