Skip to content

Commit

Permalink
fix import order
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed May 16, 2024
1 parent c2500ed commit fa48e7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pyclesperanto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
wait_for_kernel_to_finish,
)
from ._functionalities import execute, imshow, list_operations, native_execute
from ._interroperability import *
from ._memory import create, create_like, pull, push

from ._tier1 import *
from ._tier2 import *
from ._tier3 import *
Expand All @@ -21,6 +21,9 @@
from ._tier6 import *
from ._tier7 import *
from ._tier8 import *

from ._interroperability import *

from ._version import CLIC_VERSION as __clic_version__
from ._version import COMMON_ALIAS as __common_alias__
from ._version import VERSION as __version__
Expand Down
3 changes: 2 additions & 1 deletion pyclesperanto/_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

import numpy as np

from . import _operators
from ._core import Device, get_device
from ._pyclesperanto import _Array as Array
from ._utils import _assert_supported_dtype

from . import _operators


def _prepare_array(arr) -> np.ndarray:
"""Converts a given array to a numpy array with C memory layout.
Expand Down

0 comments on commit fa48e7e

Please sign in to comment.