rougier / from-python-to-numpy

An open-access book on numpy vectorization techniques, Nicolas P. Rougier, 2017
http://www.labri.fr/perso/nrougier/from-python-to-numpy
Other
2.05k stars 340 forks source link

Typo in "Anatomy of an array conclusion" #30

Closed ichernob closed 7 years ago

ichernob commented 7 years ago

Typo is found in line: print(np.allclose(Z1[start,stop,step], Z2)) I guess here should be print(np.allclose(Z1[start:stop:step], Z2)) instead

rougier commented 7 years ago

Thansk, you're right ! It's been corrected.