*Created by: ivan-usov*
The fitting routine doesn't seem to handle the situation with y_err being 0 for any point of data. In the following code:
https://github.com/paulscherrerinstitute/pyzebra/blob/cfe9832c1e09feb0c6474a0d54894bd41301cdbc/pyzebra/fit2.py#L134-L136
it will encounter division by 0 in `weights` calculation, which apparently breaks `mod.fit` function.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Created by: ivan-usov
The fitting routine doesn't seem to handle the situation with y_err being 0 for any point of data. In the following code:
https://github.com/paulscherrerinstitute/pyzebra/blob/cfe9832c1e09feb0c6474a0d54894bd41301cdbc/pyzebra/fit2.py#L134-L136
it will encounter division by 0 in
weightscalculation, which apparently breaksmod.fitfunction.