From 6c7648abb03800df3f151bf3b9c5cc7834ce0fb8 Mon Sep 17 00:00:00 2001 From: Nick <nicholas.curtis@uconn.edu> Date: Mon, 4 Dec 2017 17:35:21 -0500 Subject: [PATCH] use absolute package imports, as seems to be the norm in loopy --- loopy/target/c/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loopy/target/c/__init__.py b/loopy/target/c/__init__.py index 26a3d6384..0bbced325 100644 --- a/loopy/target/c/__init__.py +++ b/loopy/target/c/__init__.py @@ -315,7 +315,7 @@ class ExecutableCTarget(CTarget): """ An executable CTarget that uses (by default) JIT compilation of C-code """ - from .c_execution import CCompiler + from loopy.target.c.c_execution import CCompiler def __init__(self, compiler=CCompiler(), fortran_abi=False): super(ExecutableCTarget, self).__init__(fortran_abi=fortran_abi) -- GitLab