diff --git a/src/MatrixWrapper/Distributed.C b/src/MatrixWrapper/Distributed.C index b05b2a45..a4dc76d3 100644 --- a/src/MatrixWrapper/Distributed.C +++ b/src/MatrixWrapper/Distributed.C @@ -69,27 +69,28 @@ void RepartDistMatrix::write(const ExecutorHandler &exec_handler, if (write_global) { // overwrite non_local column indices with global indices - label rank{exec_handler.get_rank()}; - auto partition = get_repartitioner()->get_orig_partition(); std::copy(non_local_sparsity_->col_idxs.get_const_data(), non_local_sparsity_->col_idxs.get_const_data() + non_local_sparsity_->num_nnz, non_local->get_col_idxs()); - // - std::vector local_spans {gko::span {0, static_cast(local_sparsity_->num_nnz)}}; - std::vector