Commit 8c78da1b authored by Brice Videau's avatar Brice Videau
Browse files

Fix range split.

parent 38875254
......@@ -144,7 +144,7 @@ static int range_it_split(const excit_t data, ssize_t n, excit_t *results)
return -EXCIT_EDOM;
if (!results)
ssize_t new_last = it->last;
ssize_t new_last = it->first + (size - 1) * it->step;
ssize_t new_first;
int i;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment