Skip to content

Commit

Permalink
Update chisquare.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ANGSD authored Feb 6, 2024
1 parent 8a58e17 commit c877e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chisquare.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct Chisqdist : chisq::Gamma {
return exp(-0.5*(x2-(nu-2.)*log(x2))-fac);
}
double cdf(double x2) {
// fprintf(stderr,"x2:%f\n",x2);
fprintf(stderr,"x2:%f\n",x2);
if(std::isnan(x2)){
fprintf(stderr,"\t-> Problem computing cdf for chiseq, input is NaN, will exit\n");
exit(0);
Expand Down

0 comments on commit c877e7f

Please sign in to comment.