--=-YFjXKq8/D/t1qWmIzQ9D Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I was going over the source in src/nmath/pnorm.c and noticed a little bug in pnorm_both (in R 1.7.0). The else-if on line 205 covers the entire real line. Seems you want an &&, not an ||. Doesn't make a big difference (you still get a 0 or 1 from extreme starting values) but your log refinements will always be skipped. --=20 Daniel Pemstein Email: dbpemste@artsci.wustl.edu, dan@lcws.org Web: http://www.danpemstein.com PGP: http://www.danpemstein.com/files/pgp.txt --=-YFjXKq8/D/t1qWmIzQ9D Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA+sAX6ItxEqhMqILgRAjKxAJ40B1Laa6AEiYt+Mh29FhT3o03IsACfXwKb /so6cYytUi1PmuPwZOMs75E= =QgyI -----END PGP SIGNATURE----- --=-YFjXKq8/D/t1qWmIzQ9D--
pnorm conditional (PR#2883)
1 message · dbpemste@artsci.wustl.edu