Skip to content

Commit

Permalink
xi_argument_of_latitude_reference sometimes has 360 subtracted
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoleski committed Jun 24, 2024
1 parent d8bf7d0 commit 25fc338
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions source/MulensModel/modelparameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,8 @@ def _set_changed_parameters_2nd_source(self, q_source, parameters_2):

parameters_2['xi_semimajor_axis'] /= q_source
parameters_2['xi_argument_of_latitude_reference'] += 180.
if parameters_2['xi_argument_of_latitude_reference'] > 360.:
parameters_2['xi_argument_of_latitude_reference'] -= 360.

def __repr__(self):
"""A nice way to represent a ModelParameters object as a string"""
Expand Down
2 changes: 1 addition & 1 deletion source/MulensModel/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.24.0"
__version__ = "2.24.1"

0 comments on commit 25fc338

Please sign in to comment.