2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 04:22:16 +00:00

Fix typo in numpy tutorial

This commit is contained in:
Konstantin Podsvirov
2022-12-03 19:21:21 +03:00
committed by Stefan Seefeld
parent 0474de0f6c
commit 1fed0824ad

View File

@@ -48,7 +48,7 @@ Next, create a list, and add this tuple to the list. Then use the list to create
list_for_dtype.append(for_custom_dtype) ;
np::dtype custom_dtype = np::dtype(list_for_dtype) ;
We are now ready to create an ndarray with dimensions specified by \*shape\* and of custom dtpye ::
We are now ready to create an ndarray with dimensions specified by \*shape\* and of custom dtype ::
np::ndarray new_array = np::zeros(shape,custom_dtype);
}