change imports in cupy module to be local (#1548)
This commit is contained in:
parent
f1cfdc302d
commit
194941dfb2
@ -15,7 +15,7 @@ import sys
|
||||
import warnings
|
||||
|
||||
import numpy as np
|
||||
from pyqtgraph.util.cupy_helper import getCupy
|
||||
from .util.cupy_helper import getCupy
|
||||
|
||||
from . import debug, reload
|
||||
from .Qt import QtGui, QtCore, QT_LIB, QtVersion
|
||||
|
@ -1,8 +1,7 @@
|
||||
import os
|
||||
from warnings import warn
|
||||
|
||||
from pyqtgraph import getConfigOption
|
||||
|
||||
from .. import getConfigOption
|
||||
|
||||
def getCupy():
|
||||
if getConfigOption("useCupy"):
|
||||
|
Loading…
Reference in New Issue
Block a user