Skip to content

Commit

Permalink
Correct a[a < 5] in ulab-ndarray.ipynb (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
page200 authored Aug 6, 2024
1 parent 41c4363 commit 99cb54a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ulab-ndarray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3270,7 +3270,7 @@
"output_type": "stream",
"text": [
"a:\t array([0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0], dtype=float)\n",
"a < 5:\t array([0.0, 1.0, 2.0, 3.0, 4.0], dtype=float)\n",
"a[a < 5]:\t array([0.0, 1.0, 2.0, 3.0, 4.0], dtype=float)\n",
"\n",
"\n"
]
Expand All @@ -3283,7 +3283,7 @@
"\n",
"a = np.array(range(9), dtype=np.float)\n",
"print(\"a:\\t\", a)\n",
"print(\"a < 5:\\t\", a[a < 5])"
"print(\"a[a < 5]:\\t\", a[a < 5])"
]
},
{
Expand Down

0 comments on commit 99cb54a

Please sign in to comment.