Skip to content

Commit

Permalink
reuse other class method
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasdavis committed Nov 3, 2023
1 parent f22d7ae commit d730569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dask_awkward/layers/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def mock_empty(self, backend: BackendT = "cpu") -> AwkwardArray:
f"backend must be one of 'cpu', 'jax', or 'cuda', received {backend}"
)
return ak.to_backend(
self._meta.layout.form.length_zero_array(highlevel=False),
self.mock().layout.form.length_zero_array(highlevel=False),
backend=backend,
highlevel=True,
)
Expand Down

0 comments on commit d730569

Please sign in to comment.