diff options
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 |