RsBundle  Diff

Differences From Artifact [e79992a54d]:

  • File src/mcf/problem.rs — part of check-in [d02e699a01] at 2023-04-05 21:24:04 on branch mpi — Fix many clippy/linter warnings (user: fifr size: 20996)

To Artifact [46b3074e75]:

  • File src/mcf/problem.rs — part of check-in [a11ffd8f5a] at 2023-04-06 15:00:55 on branch mpi — mpi: rename `create_update` to `compute_update` (user: fifr size: 20997) [more...]

584
585
586
587
588
589
590
591

592
593
594
595
596
597
598
584
585
586
587
588
589
590

591
592
593
594
595
596
597
598







-
+







        Ok(())
    }
}

impl DistributedFirstOrderProblem for MMCFProblem {
    type Update = Vec<usize>;

    fn create_update<U>(
    fn compute_update<U>(
        &self,
        state: U,
        apply: impl FnOnce(Self::Update) -> result::Result<(), Self::Err> + Send + 'static,
    ) -> result::Result<bool, Self::Err>
    where
        U: ParallelUpdateState<<Self::Minorant as Minorant>::Primal>,
    {