Skip to content

Commit f64baa1

Browse files
committed
Accelerated Python Tutorial: Fix typo in cuda-cccl notebook.
1 parent a8d85f6 commit f64baa1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorials/accelerated-python/notebooks/libraries/23__cuda_cccl__customizing_algorithms.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,11 +490,11 @@
490490
"\n",
491491
"# Verify with NumPy\n",
492492
"np_inclusive = np.cumsum(d_input.get())\n",
493-
"np_exclusive = np.concatenate([[0], np_cumsum[:-1]])\n",
493+
"np_exclusive = np.concatenate([[0], np_inclusive[:-1]])\n",
494494
"np.testing.assert_allclose(d_inclusive.get(), np_inclusive)\n",
495495
"np.testing.assert_allclose(d_exclusive.get(), np_exclusive)\n",
496-
"print(f\"NumPy inclusive: {np_result}\")\n",
497-
"print(f\"NumPy exclusive: {np_result}\")"
496+
"print(f\"NumPy inclusive: {np_inclusive}\")\n",
497+
"print(f\"NumPy exclusive: {np_exclusive}\")"
498498
]
499499
},
500500
{

0 commit comments

Comments
 (0)