Skip to content

Commit

Permalink
Change fastmath=1 to fastmath=True because Numba changed
Browse files Browse the repository at this point in the history
  • Loading branch information
bcov77 committed Jun 24, 2020
1 parent 5b49902 commit 526c3f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homog/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

def guvec(sigs, layout, func):
return numba.guvectorize(
sigs, layout, nopython=1, fastmath=1)(func) # nogil not supported
sigs, layout, nopython=True, fastmath=True)(func) # nogil not supported

except ImportError:
import numpy
Expand All @@ -17,4 +17,4 @@ def guvec(sigs, layout, func):
jit = lambda f: None

def guvec(sigs, layout, func):
return None
return None

0 comments on commit 526c3f0

Please sign in to comment.