Can't compare empty absvectors
rkoeninger opened this issue · comments
Robert Koeninger commented
The CF-VECTORS
function should check if both vectors are empty and immediately return true if so.
Lines 160 to 163 in 3439aff
Bruno Deferrari commented
Didn't test it, but I think this version should work without adding much overhead.
(DEFUN CF-VECTORS (X Y LX LY)
(AND
(= LX LY)
(OR (ZERO? LX)
(CF-VECTORS-HELP X Y 0 (1- LX)))))
Bruno Deferrari commented
Well, probably not ZERO?
, thats a Scheme thing, but whatever Common Lisp has.
Robert Koeninger commented