Skip to content

Commit

Permalink
allowing s of int type
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoleski committed Jan 17, 2025
1 parent 2a813b0 commit 453acb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/MulensModel/binarylens.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, **kwargs):
self._source_x = self.trajectory.x
self._source_y = self.trajectory.y
self._separations = self.trajectory.parameters.get_s(self.trajectory.times)
if isinstance(self._separations, float):
if isinstance(self._separations, (float, int)):
self._separations = self._separations * np.ones(len(self._source_x))
self._zip_kwargs = None

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__ = "3.0.1"
__version__ = "3.0.2"

0 comments on commit 453acb6

Please sign in to comment.