dpilger26 / NumCpp

C++ implementation of the Python Numpy library
https://dpilger26.github.io/NumCpp
MIT License
3.51k stars 548 forks source link

`a > 0` io `a > 5` in README.md #186

Closed jamadagni closed 1 year ago

jamadagni commented 1 year ago

Hello. In the README.md, under https://github.com/dpilger26/NumCpp#slicingbroadcasting there is the entry:

numpy numcpp
a[a > 5] a[a > 0]

Is there a reason for the C++ version to read a > 0 rather than a > 5? I ask because all other equivalents seem totally equivalent even in the example values but this one is different.

dpilger26 commented 1 year ago

No reason, just a typo/oversight. I'll get that fixed.