unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* array-in-bounds? badness
@ 2005-06-05 20:42 Kevin Ryde
  2005-06-06 17:22 ` Marius Vollmer
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Ryde @ 2005-06-05 20:42 UTC (permalink / raw)


More apparent array dodginess in the head,

    (let ((a (make-array #f '(425 425))))
      (array-in-bounds? a 0))
    => #t


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: array-in-bounds? badness
  2005-06-05 20:42 array-in-bounds? badness Kevin Ryde
@ 2005-06-06 17:22 ` Marius Vollmer
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2005-06-06 17:22 UTC (permalink / raw)


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

> More apparent array dodginess in the head,
>
>     (let ((a (make-array #f '(425 425))))
>       (array-in-bounds? a 0))
>     => #t

Should be fixed now.

2005-06-06  Marius Vollmer  <mvo@zagadka.de>

	* unif.c (scm_array_in_bounds_p): First test for real arrays, then
	check for generalized vectors.  This ensures that the generalized
	vector case need only work with zero-origin ranges.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-06 17:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-05 20:42 array-in-bounds? badness Kevin Ryde
2005-06-06 17:22 ` Marius Vollmer

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).