Skip to content

Commit

Permalink
Remove cp.ndarray since cupy is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianDeconinck committed Dec 10, 2024
1 parent 45c3180 commit 0330cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndsl/quantity/quantity.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def view(self) -> BoundedArrayView:
return self._compute_domain_view

@property
def data(self) -> Union[np.ndarray, cupy.ndarray]:
def data(self) -> np.ndarray:
"""the underlying array of data"""
return self._data

Expand Down

0 comments on commit 0330cdb

Please sign in to comment.