From 386dd17b1ea7c33a291419a997f5634527df8406 Mon Sep 17 00:00:00 2001 From: Brian Guarraci Date: Fri, 8 Dec 2023 14:33:35 -0700 Subject: [PATCH] fix kg_array access --- klongpy/dyads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klongpy/dyads.py b/klongpy/dyads.py index 45d1da0..03a57b4 100644 --- a/klongpy/dyads.py +++ b/klongpy/dyads.py @@ -174,7 +174,7 @@ def eval_dyad_at_index(klong, a, b): r = np.asarray([]) else: # TODO: return None for missing keys? or raise? - r = np.asarray([a[x] for x in b]) + r = kg_asarray([a[x] for x in b]) elif is_integer(b): r = a[b] j = False