unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Marius Vollmer <marius.vollmer@uni-dortmund.de>
Subject: Re: random:solid-sphere! vs new vectors
Date: Mon, 17 Jan 2005 18:29:16 +0100	[thread overview]
Message-ID: <ljwtuct15f.fsf@troy.dt.e-technik.uni-dortmund.de> (raw)
In-Reply-To: <873bx3ina6.fsf@zip.com.au> (Kevin Ryde's message of "Sat, 15 Jan 2005 10:49:53 +1100")

Kevin Ryde <user42@zip.com.au> writes:

> More possible trouble with the new vectors,
>
> 	(random:solid-sphere! (make-vector 3))
> 	=> Wrong type (expecting uniform array): #(0.402854919971486 -0.66019561824329 -0.346041556106454)

Yep, I fixed this, thanks!

2005-01-17  Marius Vollmer  <marius.vollmer@uni-dortmund.de>

	* random.c (scm_random_solid_sphere_x): Use
	scm_c_generalized_vector_length instead of
	scm_uniform_vector_length.

> I applied a doc fix for random:solid-sphere! too, it was described as
> returning the sum of the squares, but in fact it's SCM_UNSPECIFIED.

Thanks!


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


      reply	other threads:[~2005-01-17 17:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-14 23:49 random:solid-sphere! vs new vectors Kevin Ryde
2005-01-17 17:29 ` Marius Vollmer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ljwtuct15f.fsf@troy.dt.e-technik.uni-dortmund.de \
    --to=marius.vollmer@uni-dortmund.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).