Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasdavis committed Nov 16, 2023
1 parent 42bf740 commit 91180a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dask_awkward/lib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __init__(
self._dtype = np.dtype(self._meta.type.content.primitive)
elif meta is None and dtype is not None:
self._meta = ak.Array(create_unknown_scalar(dtype))
self._dtype = np.dtype(self._meta.type.content.primitive)
self._dtype = dtype
else:
ValueError("One (and only one) of dtype or meta can be defined.")
self._known_value: Any | None = known_value
Expand Down

0 comments on commit 91180a9

Please sign in to comment.