Skip to content

Commit

Permalink
hacking the bug with VBBL PSBL imports, not fully solved yet
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoleski committed Feb 8, 2024
1 parent 73151bf commit 3e31b57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions source/MulensModel/binarylens.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,9 @@ def _point_source_magnification_VBBL(self, source_x, source_y):
Calculate point source magnification using VBBL fully
"""
args = [self.separation, self.mass_2/self.mass_1, source_x, source_y]

args += [0., 0., 0.] # THIS IS A HACK THAT SHOULD BE REMOVED BY PROPER IMPORT OF VBBL

return _vbbl_binary_mag_0(*[float(arg) for arg in args])

def _point_source_magnification(self, source_x, source_y):
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.20.1"
__version__ = "2.20.2"

0 comments on commit 3e31b57

Please sign in to comment.