
Jan. 15, 2016
12:48 a.m.
Hi all, I think there is an inconsistency with np.isclose when I compare two numbers:
np.isclose(0, np.inf) array([False], dtype=bool)
np.isclose(0, 1) False
The first comparison returns a bool array, the second returns a bool. Shouldn't they both return the same result? -- _____________________________________ Dr. Andrew Nelson _____________________________________