Commit 40ed2574 authored by Theo Steininger's avatar Theo Steininger
Browse files

Added dtype keyword to create_power_operator

parent d658ea45
Pipeline #10748 failed with stages
in 20 minutes and 17 seconds
......@@ -8,12 +8,14 @@ from nifty import PowerSpace,\
__all__ = ['create_power_operator']
def create_power_operator(domain, power_spectrum, distribution_strategy='not'):
def create_power_operator(domain, power_spectrum, dtype=None,
if not domain.harmonic:
fft = FFTOperator(domain)
domain =[0]
power_domain = PowerSpace(domain,
fp = Field(power_domain,
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