Skip to content

Commit 632083d

Browse files
committed
Fixed building issue in ndarray.rst
1 parent a4e9c04 commit 632083d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/reference/ndarray.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,15 +254,15 @@ Truth value of an array (:func:`bool()`):
254254
.. autosummary::
255255
:toctree: generated/
256256

257-
ndarray.__bool__
257+
dpnp.ndarray.__bool__
258258

259259
.. note::
260260

261261
Truth-value testing of an array invokes
262-
:meth:`ndarray.__bool__`, which raises an error if the number of
262+
:meth:`dpnp.ndarray.__bool__`, which raises an error if the number of
263263
elements in the array is larger than 1, because the truth value
264-
of such arrays is ambiguous. Use :meth:`.any() <ndarray.any>` and
265-
:meth:`.all() <ndarray.all>` instead to be clear about what is meant
264+
of such arrays is ambiguous. Use :meth:`.any() <dpnp.ndarray.any>` and
265+
:meth:`.all() <dpnp.ndarray.all>` instead to be clear about what is meant
266266
in such cases. (If the number of elements is 0, the array evaluates
267267
to ``False``.)
268268

0 commit comments

Comments
 (0)