Fix extensibility of 1-argument atan
authorMark H Weaver <mhw@netris.org>
Thu, 10 Feb 2011 19:24:39 +0000 (14:24 -0500)
committerAndy Wingo <wingo@pobox.com>
Sat, 12 Feb 2011 12:00:43 +0000 (13:00 +0100)
commit18104cac0b9943d941668aa3d84f3dc65643c83e
treeec980e2be94545e68827045d2bb1bce5f0ace13e
parent1ce7279a0656fdadfdae220327a97dbf1a3291c6
Fix extensibility of 1-argument atan

* libguile/numbers.c (scm_atan): Call SCM_WTA_DISPATCH_1 instead of
  SCM_WTA_DISPATCH_2 if the second argument is unbound.  Arguably,
  SCM_WTA_DISPATCH_* should handle that case gracefully, but currently
  it doesn't.
libguile/numbers.c