Closed giumas closed 8 years ago
There could be a minor issue with the __init__ of the DCT class: https://github.com/AllenDowney/ThinkDSP/blob/master/code/thinkdsp.py#L485
__init__
DCT
It is an exact duplication of the __init__ of the parent _SpectrumParent class: https://github.com/AllenDowney/ThinkDSP/blob/master/code/thinkdsp.py#L156. You could delete it or, in alternative, call the parent initialization (if you prefer to make it more explicit).
_SpectrumParent
Fixed b4cd21b
Thanks!
There could be a minor issue with the
__init__
of theDCT
class: https://github.com/AllenDowney/ThinkDSP/blob/master/code/thinkdsp.py#L485It is an exact duplication of the
__init__
of the parent_SpectrumParent
class: https://github.com/AllenDowney/ThinkDSP/blob/master/code/thinkdsp.py#L156. You could delete it or, in alternative, call the parent initialization (if you prefer to make it more explicit).