From 3e31b57ee1d8c647c3f1d9524b542e2ea7d02dd6 Mon Sep 17 00:00:00 2001 From: radek_poleski Date: Thu, 8 Feb 2024 16:38:57 +0100 Subject: [PATCH] hacking the bug with VBBL PSBL imports, not fully solved yet --- source/MulensModel/binarylens.py | 3 +++ source/MulensModel/version.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/source/MulensModel/binarylens.py b/source/MulensModel/binarylens.py index 3e421c3af..4c77205bd 100644 --- a/source/MulensModel/binarylens.py +++ b/source/MulensModel/binarylens.py @@ -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): diff --git a/source/MulensModel/version.py b/source/MulensModel/version.py index 7843237ad..5ad8e5095 100644 --- a/source/MulensModel/version.py +++ b/source/MulensModel/version.py @@ -1 +1 @@ -__version__ = "2.20.1" +__version__ = "2.20.2"