Skip to content

Commit

Permalink
Removed uneccessary astype
Browse files Browse the repository at this point in the history
  • Loading branch information
evalott100 committed Oct 11, 2023
1 parent 6ccaa8f commit 659a25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandablocks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def words_to_table(
assert field_info.labels, f"Enum field {field_name} has no labels"
packing_value = [field_info.labels[x] for x in value]
else:
packing_value = value.astype(np.uint32)
packing_value = value

unpacked.update({field_name: packing_value})

Expand Down

0 comments on commit 659a25f

Please sign in to comment.