Remove one useless if in N_det

and test for pull_request