rpoleski / MulensModel

Microlensing Modelling package
https://rpoleski.github.io/MulensModel/
Other
57 stars 15 forks source link

Fix bug #99, related to negative u_0 #100

Closed rapoliveira closed 1 year ago

rapoliveira commented 1 year ago

This is a fix to the bug #99 by adding the function abs() to the denominator of the parametrization for t_E and the corresponding unit test. With the correction, the t_E value will always be positive even if u_0 is negative.

rpoleski commented 1 year ago

@rapoliveira Please make one more change: update the version number. It's kept in source/MulensModel/version.py. You have not modified the API, so in X.Y.Z you should increase Z by 1.