Another attempt to get numba_misc.py to work

master
Per A Brodtkorb 8 years ago
parent 0d3937640c
commit 41bf7398b8

@ -8,7 +8,7 @@ from numba import guvectorize, jit, float64, int64, int32, int8, void
import numpy as np import numpy as np
@guvectorize([(int64[:], int8[:], int64[:])], '(n),(n)->(3)') @guvectorize(['void(int64[:], int8[:], int64[:])'], '(n),(n)->(3)')
def _find_first_cross(ind, y, out): def _find_first_cross(ind, y, out):
ix, dcross, start, v = 0, 0, 0, 0 ix, dcross, start, v = 0, 0, 0, 0
n = len(y) n = len(y)

Loading…
Cancel
Save