Skip to content

Commit

Permalink
ex16: bug in shift_t_0
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoleski committed Jun 13, 2024
1 parent ccb1374 commit 83e33d1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/example_16/ulens_model_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
except Exception:
raise ImportError('\nYou have to install MulensModel first!\n')

__version__ = '0.37.0'
__version__ = '0.37.1'


class UlensModelFit(object):
Expand Down Expand Up @@ -2776,8 +2776,9 @@ def _shift_t_0_in_samples(self):
self._samples[:, :, index] = (
self._samples[:, :, index] - self._shift_t_0_val)

if name in self._fixed_parameters.keys():
self._shift_t_0_val = int(self._fixed_parameters[name])
if self._fixed_parameters is not None:
if name in self._fixed_parameters.keys():
self._shift_t_0_val = int(self._fixed_parameters[name])

def _get_fluxes_to_print_EMCEE(self):
"""
Expand Down

0 comments on commit 83e33d1

Please sign in to comment.