diff --git a/fedeca/utils/survival_utils.py b/fedeca/utils/survival_utils.py index 56f6e62..773396b 100644 --- a/fedeca/utils/survival_utils.py +++ b/fedeca/utils/survival_utils.py @@ -422,7 +422,7 @@ def generate_data( # (rightfully) will act in a weird way. See the birth outer join in # https://github.com/CamDavidsonPilon/lifelines/blob/4377caf5a6224941ee3ab34c413ad668d4173274/lifelines/utils/__init__.py#L567 # therefore we add a small quantity to every time - times += rng.random.uniform(1.0 / nbins, 1.0, size=1) + times += rng.uniform(1.0 / nbins, 1.0, size=1) else: raise ValueError("Choose a larger number of ties")