speedup unitcheck
speedup unitcheck

In [2]: %timeit np.all(u > 0.) and np.all(u < 1.)
6.12 µs ± 58 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)

In [3]: %timeit u.min()>0 and u.max()<1
2.62 µs ± 30.7 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)

joshspeagle/dynesty