Skip to content

Commit

Permalink
Replace |= with .update() for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
JanKleine committed Oct 26, 2023
1 parent 0b696cf commit 33aa5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dace/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ def __init__(

indices_pure = [idx[0] for idx in indices];
for (lvl, index) in enumerate(indices_pure):
fields |= index.fields(lvl, value_count)
fields.update(index.fields(lvl, value_count))

abbreviation = ''.join(str(idx)[0] for idx in indices_pure)

Expand Down

0 comments on commit 33aa5b3

Please sign in to comment.