Closed japagetw closed 5 years ago
This is due to the vector inheriting the dtype from the original vector ndarray. If you increase the values, to say [100,100,100], then they will be non-zero.
If you feel there is a legitimate enough reason to alter this logic, I'm all ears. However, I'm inclined to leave it this way as I would rather preserve dtypes than have them change without the user's knowledge, which is consistent with the rest of the library.
Thinking about it more, numpy does automatic conversion to other dtypes, I guess pyrr should just do what numpy does.
duplicated by #80
The results of
q*v
andq*w
should be the same.