Quansight-Labs/numpy.net

np.logical_and should return boolean arrays and not integer arrays

Happypig375 opened this issue · 1 comments

using NumpyDotNet;
np.logical_and(np.array(new[]{0, 1, 2}), np.array(new[]{1, 0, 2}))
INT32 
{ 0, 0, 1 }
import numpy as np
print(np.logical_and(np.array([0, 1, 2]), np.array([1, 0, 2])))
[False False  True]

fixed