Closed dhunstack closed 11 months ago
https://github.com/MTG/sms-tools/blob/b6ad1982ed6e7bff4f4b075e9afde674654620e9/software/models/harmonicModel.py#L78 ValueError: operands could not be broadcast together with shapes (100,) (0,)
Python - 3.10.13 Numpy - 1.25.2
This error occurs only for Harmonic Models. hfreqp seems to be initialized to a python list, but it becomes a numpy array after the first iteration for which this comparison wouldn't work as expected.
https://github.com/MTG/sms-tools/blob/b6ad1982ed6e7bff4f4b075e9afde674654620e9/software/models/harmonicModel.py#L78 ValueError: operands could not be broadcast together with shapes (100,) (0,)
Python - 3.10.13 Numpy - 1.25.2
This error occurs only for Harmonic Models. hfreqp seems to be initialized to a python list, but it becomes a numpy array after the first iteration for which this comparison wouldn't work as expected.