diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-11-15 20:17:59 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-11-15 20:17:59 -0800 |
commit | 89b51ce4482c0d10abe2947fb02876784119e091 (patch) | |
tree | 8d2f3d3b682104b51c82c9a66346afdf833d3770 /tests/002/query-1.txr | |
parent | 5110262829dd1324e4a1a7ba4e2f0a733f63b728 (diff) | |
download | txr-89b51ce4482c0d10abe2947fb02876784119e091.tar.gz txr-89b51ce4482c0d10abe2947fb02876784119e091.tar.bz2 txr-89b51ce4482c0d10abe2947fb02876784119e091.zip |
find-max: bugfix for zero length vectors.
* lib.c (find_max): Fix a regression introduced
in recent work: only execute the loop when the vector isn't
empty.
Diffstat (limited to 'tests/002/query-1.txr')
0 files changed, 0 insertions, 0 deletions