Update splitconds.m

vadim corrected a bug