Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
Add some printf to stdtr
Browse files Browse the repository at this point in the history
  • Loading branch information
jucor committed Dec 2, 2013
1 parent 1f468de commit cf6fffe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cephes/cprob/stdtr.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <stdio.h>
/* stdtr.c
*
* Student's t distribution
Expand Down Expand Up @@ -171,7 +172,9 @@ else
f += tz;
j += 2;
}
printf("f: %lf, x:%lf, z: %lf, rk:%lf\n", f, x, z, rk);
p = f * x/sqrt(z*rk);
printf("p: %lf\n", p)
}

/* common exit */
Expand Down

0 comments on commit cf6fffe

Please sign in to comment.