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.06k stars 340 forks source link

Use xor on bool in mandelbrot_numpy_2, fix #110 #113

Closed NickleDave closed 1 year ago

NickleDave commented 1 year ago

Hi @rougier and thanks for this helpful book.

This is just a quick PR to make the same fix that @ev-br made in #111, but this one fixes Dan Goodman's implementation of the mandelbrot set, as @ev-br mentioned here: https://github.com/rougier/from-python-to-numpy/issues/110#issuecomment-1514306165

rougier commented 1 year ago

Thanks!