Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.
Prev Previous commit
Next Next commit
pep
  • Loading branch information
AlexanderKalistratov committed May 29, 2020
commit a0cee4c794d062216b806d96315d29ff11e404b8
2 changes: 1 addition & 1 deletion sdc/functions/sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def load_symbols(name, sig, types):
result = {}

func_text = '\n'.join([f"result[{typ}] = bind('{name}_{pstfx}', sig)" for typ, pstfx in types.items()])
glbls = {f'{typ}' : typ for typ in types.keys()}
glbls = {f'{typ}': typ for typ in types.keys()}
glbls.update({'result': result, 'sig': sig, 'bind': bind})
exec(func_text, glbls)

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def readme():
else:
_has_pyarrow = True


# Copypaste from numba
def check_file_at_path(path2file):
"""
Expand Down Expand Up @@ -101,6 +102,7 @@ def check_file_at_path(path2file):
found = p # the latest is used
return found


# Search for Intel TBB, first check env var TBBROOT then conda locations
tbb_root = os.getenv('TBBROOT')
if not tbb_root:
Expand Down