Changeset 1608
 Timestamp:
 Nov 1, 2008, 3:34:43 PM (13 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/test/kolmogorov_smirnov_test.cc
r1600 r1608 73 73 double p = ks.p_value(n); 74 74 double p_correct = 2.0/11.0; 75 double margin = 5*std::sqrt(n*p_correct) ;75 double margin = 5*std::sqrt(n*p_correct)/n; 76 76 if (p>p_correct+margin  p<p_correctmargin) { 77 77 suite.err() << "Error: pvalue: " << p << "\n"
Note: See TracChangeset
for help on using the changeset viewer.