fix set_distributed_matrix no-error