summaryrefslogtreecommitdiffstats
path: root/tests/002/query-1.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-11-15 20:17:59 -0800
committerKaz Kylheku <kaz@kylheku.com>2017-11-15 20:17:59 -0800
commit89b51ce4482c0d10abe2947fb02876784119e091 (patch)
tree8d2f3d3b682104b51c82c9a66346afdf833d3770 /tests/002/query-1.txr
parent5110262829dd1324e4a1a7ba4e2f0a733f63b728 (diff)
downloadtxr-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