You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
________________________________
From: nathanjmcdougall <[email protected]>
Sent: Thursday, February 25, 2021 9:11:23 PM
To: pysal/pointpats <[email protected]>
Cc: Subscribed <[email protected]>
Subject: [pysal/pointpats] HAS_NUMBA left undefined (#70)
This message could be from someone attempting to impersonate a member of UoB. Please do not share information with the sender without verifying their identity. If in doubt, please contact the IT Service Desk for advice. --
In centrography.py, there's a check for in the numba module is available:
try:
from numba import njit, boolean
HAS_NUMBA = True
Etc. But if numba isn't installed, then HAS_NUMBA is undefined, which can cause problems when using functions, e.g. minimum_bounding_circle.
I'm not sure, but potentially the fix is as simple as adding HAS_NUMBA = False in the Exception to the above try statement:
except ModuleNotFoundError:
def njit(func, **kwargs):
return func
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#70>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AARFR465OKCRHKPUW2EPZRTTA24HXANCNFSM4YHHRPIQ>.
In centrography.py, there's a check for if the
numba
module is available:Etc. But if
numba
isn't installed, thenHAS_NUMBA
is undefined, which can cause problems when using functions, e.g.minimum_bounding_circle
.I'm not sure, but potentially the fix is as simple as adding
HAS_NUMBA = False
in the Exception to the abovetry
statement:The text was updated successfully, but these errors were encountered: