Skip to content

Commit e9d01a2

Browse files
authored
tridisolve not accesible
I was using your library and I found it a little bit slow. Diving into the code, I discovered that line (884) in "utils.py" that was trying to import the cythonized module _utils but was unreachable. I just added the dot before the import and the import was successful. I don't know if the dot is only in my case, (venv virtual environment, VSCode, amd64 Windows) or if it's a general fix but I feel that I had to propose changes
1 parent 679f309 commit e9d01a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nitime/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ def detect_lines(s, tapers, p=None, **taper_kws):
881881

882882
# If we can get it, we want the cythonized version
883883
try:
884-
from _utils import tridisolve
884+
from ._utils import tridisolve
885885

886886
# If that doesn't work, we define it here:
887887
except ImportError:

0 commit comments

Comments
 (0)