Skip to content

Commit

Permalink
omit dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher committed Oct 16, 2024
1 parent 6ceb23a commit 1d3a0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weldx_widgets/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def convert_value(val):
return int(val) # Otherwise, treat as int

# Step 4: Apply the conversion and create a NumPy array with inferred types
num_array = np.array([convert_value(x) for x in input_list], dtype=object)
num_array = np.array([convert_value(x) for x in input_list])

return num_array
except ValueError:
Expand Down

0 comments on commit 1d3a0f8

Please sign in to comment.