Closed rsav closed 2 months ago
Thanks for reporting. I confirm the bug, this is a leftover from a conversion of spectrum
as a direct Parameter
to it being a Model
that has a parameter. The former one behaves like an array, so @
works, while the latter one doesn't.
The solution is to update the docs.
When running the notebook wavelet_model.ipynb, I get this error in the very last cell when computing the scalar product:
TypeError: unsupported operand type(s) for @: 'TabulatedSpectrum' and 'TabulatedSpectrum'
The offending line is:
Workaround: use spectrum.getmodel() and spectrum.getmodel() instead of spectrum and spectrum