File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -254,15 +254,15 @@ Truth value of an array (:func:`bool()`):
254
254
.. autosummary ::
255
255
:toctree: generated/
256
256
257
- ndarray.__bool__
257
+ dpnp. ndarray.__bool__
258
258
259
259
.. note ::
260
260
261
261
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
263
263
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
266
266
in such cases. (If the number of elements is 0, the array evaluates
267
267
to ``False ``.)
268
268
You can’t perform that action at this time.
0 commit comments