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.03k stars 339 forks source link

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

Closed NickleDave closed 9 months ago

NickleDave commented 9 months 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 9 months ago

Thanks!