diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:26 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:26 -0800 |
commit | f24b9140d6f74804d5599ec225717d38ca443813 (patch) | |
tree | 0da952f1a5a7c0eacfc05c296766523e32c05fe2 /array.scm | |
parent | 8ffbc2df0fde83082610149d24e594c1cd879f4a (diff) | |
download | slib-upstream/2c0.tar.gz slib-upstream/2c0.zip |
Import Upstream version 2c0upstream/2c0
Diffstat (limited to 'array.scm')
-rw-r--r-- | array.scm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ (if (array? obj) (length (array-shape obj)) 0)) (define (array-dimensions ra) - (map (lambda (ind) (if (zero? (car ind)) (cadr ind) ind)) + (map (lambda (ind) (if (zero? (car ind)) (+ 1 (cadr ind)) ind)) (array-shape ra))) (define array:construct |