Commit fab21926 authored by Gordian Edenhofer's avatar Gordian Edenhofer
Browse files Simplify constant zm

parent 0408c142
Pipeline #100994 passed with stages
in 12 minutes and 42 seconds
......@@ -59,12 +59,10 @@ def SimpleCorrelatedField(
for kk in [offset_std, fluctuations, loglogavgslope]:
for kk in (fluctuations, loglogavgslope):
if len(kk) != 2:
raise TypeError
if not (offset_std is None or len(offset_std) == 2):
raise TypeError
for kk in [flexibility, asperity]:
for kk in (offset_std, flexibility, asperity):
if not (kk is None or len(kk) == 2):
raise TypeError
if flexibility is None and asperity is not None:
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