Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Karsten Poeck
ansi-test
Commits
b74f61ae
Commit
b74f61ae
authored
Jun 09, 2004
by
pfdietz
Browse files
Fixed breakage in make-random-vector caused by change in random-partition
parent
459b225e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ansi-tests/printer-aux.lsp
View file @
b74f61ae
...
...
@@ -175,7 +175,7 @@
(defun make-random-vector (size)
(if (> size 1)
(let* ((nelems (min (1- size) (1+ (random (max 2 (floor size 4))))))
(sizes (mapcar #'1+ (random-partition (- size nelems 1) nelems))))
(sizes (mapcar #'1+ (random-partition
*
(- size nelems 1) nelems))))
(make-array nelems :initial-contents (mapcar #'make-random-vector sizes)))
(rcase
(1 (random-from-seq #(a b c d e f g)))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment