Commit 61f3c9b3 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

remove compat.py

parent 6d6ad4dd
from builtins import (ascii, bytes, chr, dict, filter, hex, input,
map, next, oct, open, pow, range, round,
super, zip)
from functools import reduce
......@@ -20,7 +20,6 @@ import sys
import numpy as np
from mpi4py import MPI
from ..compat import *
from .random import Random
__all__ = ["ntask", "rank", "master", "local_shape", "data_object", "full",
......
......@@ -17,8 +17,6 @@
import numpy as np
from ..compat import *
class Random(object):
@staticmethod
......
......@@ -15,8 +15,6 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from .compat import *
try:
from mpi4py import MPI
if MPI.COMM_WORLD.Get_size() == 1:
......
......@@ -15,8 +15,8 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from functools import reduce
from . import utilities
from .compat import *
from .domains.domain import Domain
......
......@@ -17,7 +17,6 @@
import numpy as np
from ..compat import *
from .structured_domain import StructuredDomain
......
......@@ -15,7 +15,7 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from ..compat import *
from functools import reduce
from ..utilities import NiftyMetaBase
......
......@@ -17,7 +17,6 @@
import numpy as np
from ..compat import *
from .structured_domain import StructuredDomain
......
......@@ -17,7 +17,6 @@
import numpy as np
from ..compat import *
from .structured_domain import StructuredDomain
......
......@@ -17,7 +17,6 @@
import numpy as np
from ..compat import *
from ..field import Field
from .structured_domain import StructuredDomain
......
......@@ -15,10 +15,10 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from functools import reduce
import numpy as np
from .. import dobj
from ..compat import *
from ..field import Field
from ..sugar import exp
from .structured_domain import StructuredDomain
......
......@@ -18,7 +18,6 @@
import numpy as np
from .. import dobj
from ..compat import *
from .structured_domain import StructuredDomain
......
......@@ -15,10 +15,10 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from functools import reduce
import numpy as np
from .. import dobj
from ..compat import *
from ..field import Field
from .structured_domain import StructuredDomain
......
......@@ -17,7 +17,6 @@
import numpy as np
from ..compat import *
from .domain import Domain
......
......@@ -15,7 +15,6 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from ..compat import *
from .domain import Domain
......
......@@ -17,7 +17,6 @@
import numpy as np
from .compat import *
from .field import Field
from .linearization import Linearization
from .sugar import from_random
......
......@@ -15,10 +15,10 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from functools import reduce
import numpy as np
from . import dobj, utilities
from .compat import *
from .domain_tuple import DomainTuple
......
......@@ -15,7 +15,6 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from ..compat import *
from ..minimization.energy_adapter import EnergyAdapter
from ..multi_domain import MultiDomain
from ..multi_field import MultiField
......
......@@ -17,7 +17,6 @@
import numpy as np
from ..compat import *
from ..domains.power_space import PowerSpace
from ..field import Field
from ..sugar import makeOp, sqrt
......
......@@ -15,7 +15,6 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from ..compat import *
from ..domain_tuple import DomainTuple
from ..multi_domain import MultiDomain
from ..operators.contraction_operator import ContractionOperator
......
Markdown is supported
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