From 63ef75ded573ffb598bfc10694ffe06ed080f498 Mon Sep 17 00:00:00 2001 From: rakow Date: Wed, 19 Jun 2024 09:30:13 +0200 Subject: [PATCH] use lowercase inf --- matsim/calibration/group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matsim/calibration/group.py b/matsim/calibration/group.py index fb6b0aa..8cf7100 100644 --- a/matsim/calibration/group.py +++ b/matsim/calibration/group.py @@ -20,7 +20,7 @@ def detect_binned_groups(s: Iterable[str]) -> Tuple[Sequence, Sequence]: elif "+" in label: a = int(label[:-1]) bins.add(a) - bins.add(np.Inf) + bins.add(np.inf) bins = sorted(list(bins))