ENH: ndarray -> empty in path_scores(...)