Skip to content

Commit 9cf00cf

Browse files
committed
TL: trying to solve circular imports
1 parent db51d8b commit 9cf00cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pySDC/core/sweeper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from qmat.qdelta import QDeltaGenerator, QDELTA_GENERATORS
44

55
from pySDC.core.errors import ParameterError
6-
from pySDC.core.level import Level
76
from pySDC.core.collocation import CollBase
87
from pySDC.helpers.pysdc_helper import FrozenClass
98

@@ -245,6 +244,8 @@ def level(self, L):
245244
Args:
246245
L (pySDC.Level.level): current level
247246
"""
247+
from pySDC.core.level import Level
248+
248249
assert isinstance(L, Level)
249250
self.__level = L
250251

0 commit comments

Comments
 (0)