Fixed an error the swap_vec_#DATA# subroutines