OxIonics / ionics_fits

Small python fitting library with an emphasis on Atomic Molecular and Optical Physics
Apache License 2.0
1 stars 0 forks source link

RepeatedModel does not work with num_repeats=1 #90

Closed hartytp closed 1 year ago

hartytp commented 1 year ago

https://github.com/OxIonics/ionics_fits/blob/7ce8b793509c63c251a7177d8df4cd310b228c40/ionics_fits/models/containers.py#L226 gives IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed