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;
|