fixed misnamed numpy func