Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mtspec/multitaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def mt_coherence(df, xi, xj, tbp, kspec, nf, p, **kwargs):
'cohe_ci', 'phase_ci', 'iadapt'):
kwargs.setdefault(key, None)
if key in ('cohe_ci', 'phase_ci') and kwargs[key]:
kwargs[key] = mt.empty(nf, 2)
kwargs[key] = mt.empty((nf, 2))
args.append(mt.p(kwargs[key]))
elif key == 'iadapt' and kwargs[key]:
args.append(C.byref(C.c_int(kwargs[key])))
Expand Down