Skip to content
Snippets Groups Projects
Commit 940aafa1 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Make yapf

parent 6ee95490
No related tags found
No related merge requests found
Pipeline #9094 passed
......@@ -4,12 +4,15 @@ import numpy as np
if os.getenv("DISABLE_NUMBA"):
print("Numba is disabled, DAQ helper functions will not work!")
# A hack to to get the @vectorize, @guvectorize and nb.types silently pass.
def dummy_decorator(*args, **kwargs):
def decorator(f):
def wrapper(*args, **kwargs):
return dummy_decorator(*args, **kwargs)
return wrapper
return decorator
vectorize = dummy_decorator
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment