1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 07:30:28 +02:00

* numbers.c (scm_makdbl): Bugfix: Initialize imaginary part.

(Thanks to Lorentey Karoly.)
This commit is contained in:
Mikael Djurfeldt 1999-07-31 09:05:02 +00:00
parent b94903c2c1
commit a7c930f19c

View file

@ -2471,6 +2471,7 @@ scm_makdbl (x, y)
else
{
SCM_NEWSMOB(z,scm_tc_dblc,scm_must_malloc (2L * sizeof (double), "comkplex"));
SCM_IMAG (z) = y;
}
SCM_REAL (z) = x;
SCM_ALLOW_INTS;