mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
parent
0b55c0b718
commit
193424f74d
2 changed files with 2 additions and 0 deletions
|
@ -3787,6 +3787,7 @@
|
|||
(vector 'foo 'bar 'baz))
|
||||
(make-interval '#(1)))
|
||||
(make-interval '#()))))
|
||||
(test-error (specialized-array-reshape A-ref (make-interval '#(100)) 'a))
|
||||
)
|
||||
|
||||
(test-group "curry tests"
|
||||
|
|
|
@ -579,6 +579,7 @@
|
|||
(= (interval-volume (array-domain array))
|
||||
(interval-volume new-domain))))
|
||||
(let ((copy-on-failure? (and (pair? o) (car o))))
|
||||
(assert (boolean? copy-on-failure?))
|
||||
(cond
|
||||
((reshape-without-copy array new-domain))
|
||||
(copy-on-failure?
|
||||
|
|
Loading…
Add table
Reference in a new issue