From a8ea8c64e25d06c88d41d7d1a758988223ce0478 Mon Sep 17 00:00:00 2001 From: Maximilian Linhoff Date: Mon, 4 Sep 2023 12:28:36 +0200 Subject: [PATCH] Add changelog entry --- docs/changes/2376.api.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 docs/changes/2376.api.rst diff --git a/docs/changes/2376.api.rst b/docs/changes/2376.api.rst new file mode 100644 index 00000000000..62bab6f6cc3 --- /dev/null +++ b/docs/changes/2376.api.rst @@ -0,0 +1,2 @@ +Change the fill value for invalid telescope ids in ``SubarrayDescription.tel_index_array`` +from ``-1`` to ``np.iinfo(int).minval`` to prevent ``-1`` being used as an index resulting in the last element being used for invalid telescope ids.