lib/distribution/t/ruby.rb in distribution-0.7.0 vs lib/distribution/t/ruby.rb in distribution-0.7.1

- old
+ new

@@ -65,11 +65,11 @@ end def pt(q, n) q = q.to_f if(q < 1.0e-5 || q > 1.0 || n < 1) - $stderr.printf("Error : Illigal parameter in pt()!\n") + $stderr.printf("Error : Illegal parameter in pt()!\n") return 0.0 end if(n <= 5) then return ptsub(q, n) end if(q <= 5.0e-3 && n <= 13) then return ptsub(q, n) end @@ -106,6 +106,6 @@ end end end -end \ No newline at end of file +end