RsBundle  Diff

Differences From Artifact [6267944fb2]:

  • File src/solver/sync.rs — part of check-in [69a9cd5e4d] at 2019-11-22 21:20:30 on branch trunk — sync: remove needless `.into()` (user: fifr size: 30743)

To Artifact [58ec49b1a3]:

  • File src/solver/sync.rs — part of check-in [fa17475e9b] at 2019-11-22 21:21:48 on branch trunk — sync: simplify a `map_err` (user: fifr size: 30725)

548
549
550
551
552
553
554
555

556
557
558
559
560
561
562
548
549
550
551
552
553
554

555
556
557
558
559
560
561
562







-
+







            .unwrap_or(false)
        {
            return Err(Error::Dimension("upper bounds".to_string()));
        }

        debug!("Start master process");
        self.master_proc = Some(MasterProcess::start(
            self.master.build().map_err(|err| Error::BuildMaster(err.into()))?,
            self.master.build().map_err(Error::BuildMaster)?,
            master_config,
            &mut self.threadpool,
        ));

        debug!("Initial problem evaluation");
        // We need an initial evaluation of all oracles for the first center.
        let y = Arc::new(self.data.cur_y.clone());