Skip to content

Commit

Permalink
fix kg_array access
Browse files Browse the repository at this point in the history
  • Loading branch information
briangu committed Dec 8, 2023
1 parent fd3c872 commit 386dd17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klongpy/dyads.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 386dd17

Please sign in to comment.