diff options
author | Daniel Llorens <daniel.llorens@bluewin.ch> | 2013-05-08 16:06:40 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2014-01-27 21:49:10 +0100 |
commit | 96f733226313b797e5f38948dc8216112f54f756 (patch) | |
tree | d3dc6869831ee493b3fa54b76c9fcc93d257b3e1 /libguile/srfi-1.c | |
parent | f6ec824401ab46e74be358130c4d4d2bd209bbc4 (diff) | |
download | guile-96f733226313b797e5f38948dc8216112f54f756.tar.gz |
array-contents returns root for empty arrays with empty root
This fixes a compiler issue where (uniform-array->bytevector #2f64())
failed because of the stricter definition of uniform-vector? on this branch.
Perhaps it would be better if uniform-array->bytevector didn't require
a contiguous argument.
* libguile/arrays.c: (scm_array_contents): return the root regardless of
the value of SCM_I_ARRAY_DIMS (ra)->inc.
* test-suite/tests/arrays.test: check.
Diffstat (limited to 'libguile/srfi-1.c')
0 files changed, 0 insertions, 0 deletions