The effects of degeneracy on nonlocal dispersal logistic equations