Commit e808fff0 authored by Philipp Arras's avatar Philipp Arras
Browse files

Cosmetics

parent c1c46603
Pipeline #52372 passed with stages
in 8 minutes and 31 seconds
......@@ -15,9 +15,10 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from .multi_field import MultiField
from .operators.endomorphic_operator import EndomorphicOperator
from .operators.operator import Operator
from .sugar import from_random
from .sugar import from_global_data, from_random
class StatCalculator(object):
......@@ -137,8 +138,6 @@ def probe_diagonal(op, nprobes, random_type="pm1"):
def approximation2endo(op, nsamples):
from .sugar import from_global_data
from .multi_field import MultiField
sc = StatCalculator()
for _ in range(nsamples):
sc.add(op.draw_sample())
......
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