From 41bf7398b8195fa955669ef15320552fb761844c Mon Sep 17 00:00:00 2001 From: Per A Brodtkorb Date: Tue, 6 Jun 2017 10:06:21 +0200 Subject: [PATCH] Another attempt to get numba_misc.py to work --- wafo/numba_misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wafo/numba_misc.py b/wafo/numba_misc.py index 81a3c69..8c5f2d0 100644 --- a/wafo/numba_misc.py +++ b/wafo/numba_misc.py @@ -8,7 +8,7 @@ from numba import guvectorize, jit, float64, int64, int32, int8, void 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): ix, dcross, start, v = 0, 0, 0, 0 n = len(y)