RsBundle  Diff

Differences From Artifact [334a87326b]:

  • File src/parallel/solver.rs — part of check-in [3227c3bd0c] at 2019-07-25 14:08:50 on branch problem-update — parallel::solver: ensure solver is not terminated if the problem has been changed (user: fifr size: 27797) [more...]

To Artifact [fcc9deaf8e]:

  • File src/parallel/solver.rs — part of check-in [0010dfd445] at 2019-07-25 14:54:19 on branch problem-update — parallel::solver: fix some clippy warnings (user: fifr size: 27778) [more...]

721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
    ) -> Result<bool, Error<P::Err>> {
        let (update_tx, update_rx) = channel();
        problem
            .update(
                &UpdateData {
                    cur_y: &data.cur_y,
                    nxt_y: &itdata.nxt_y,
                    step: step,
                    master_proc: master_proc,
                },
                itdata.cnt_iter,
                update_tx,
            )
            .map_err(Error::Update)?;

        let mut have_update = false;







|
|







721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
    ) -> Result<bool, Error<P::Err>> {
        let (update_tx, update_rx) = channel();
        problem
            .update(
                &UpdateData {
                    cur_y: &data.cur_y,
                    nxt_y: &itdata.nxt_y,
                    step,
                    master_proc,
                },
                itdata.cnt_iter,
                update_tx,
            )
            .map_err(Error::Update)?;

        let mut have_update = false;