Commit 03823a8d authored by Philipp Arras's avatar Philipp Arras
Browse files

Import cleanups

parent 653031b4
Pipeline #31222 passed with stages
in 1 minute and 25 seconds
...@@ -23,7 +23,6 @@ from . import utilities ...@@ -23,7 +23,6 @@ from . import utilities
from .domain_tuple import DomainTuple from .domain_tuple import DomainTuple
from functools import reduce from functools import reduce
from . import dobj from . import dobj
import sys
__all__ = ["Field", "sqrt", "exp", "log", "conjugate"] __all__ = ["Field", "sqrt", "exp", "log", "conjugate"]
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik # NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from ..field import Field
from ..sugar import exp from ..sugar import exp
from ..minimization.energy import Energy from ..minimization.energy import Energy
from ..operators.diagonal_operator import DiagonalOperator from ..operators.diagonal_operator import DiagonalOperator
......
...@@ -17,11 +17,12 @@ ...@@ -17,11 +17,12 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from __future__ import division from __future__ import division
from builtins import range from builtins import range
import numpy as np
from ..logger import logger
from .descent_minimizer import DescentMinimizer from .descent_minimizer import DescentMinimizer
from .line_search_strong_wolfe import LineSearchStrongWolfe from .line_search_strong_wolfe import LineSearchStrongWolfe
from ..logger import logger
class L_BFGS(DescentMinimizer): class L_BFGS(DescentMinimizer):
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from .linear_operator import LinearOperator from .linear_operator import LinearOperator
import numpy as np
class ChainOperator(LinearOperator): class ChainOperator(LinearOperator):
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
import abc import abc
import numpy as np import numpy as np
from ..utilities import NiftyMetaBase from ..utilities import NiftyMetaBase
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
import numpy as np import numpy as np
from .linear_operator import LinearOperator from .linear_operator import LinearOperator
from .diagonal_operator import DiagonalOperator from .diagonal_operator import DiagonalOperator
from .endomorphic_operator import EndomorphicOperator from .endomorphic_operator import EndomorphicOperator
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment