Error in kminvalues._direct_sum