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))