fix levene test crashing for n = np

Authored by devanshuagarwal on Jun 26 2019, 4:35 PM.