Commit 67171d49 authored by Ronan Hamon's avatar Ronan Hamon

switch parameters in __new__ method of Waveforn

parent 97357221
......@@ -135,7 +135,7 @@ class Waveform(MadArray):
See :class:`MadArray`.
def __new__(cls, data, mask=None, fs=None, masked_indexing=None):
def __new__(cls, data, fs=None, mask=None, masked_indexing=None):
if fs is None:
if isinstance(data, Waveform):
fs = data.fs
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