Skip to content

Commit

Permalink
update twist and rise of half2 upon convergence, addressing issue #1026
Browse files Browse the repository at this point in the history
  • Loading branch information
scheres committed Nov 10, 2023
1 parent 0b4d29f commit 93049a2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ml_optimiser_mpi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2665,10 +2665,12 @@ void MlOptimiserMpi::maximization()
mymodel.helical_twist[ith_recons],
width_mask_edge);
}
helical_rise_half2 = mymodel.helical_rise[ith_recons];
helical_twist_half2 = mymodel.helical_twist[ith_recons];
} // end if !do_join_random_halves

// Rank 2 still updates the estimated twist and rise
helical_rise_half2 = mymodel.helical_rise[ith_recons];
helical_twist_half2 = mymodel.helical_twist[ith_recons];

// But rank 2 always does the unfiltered reconstruction
if (do_auto_refine && has_converged)
readTemporaryDataAndWeightArraysAndReconstruct(ith_recons, 2);
Expand Down

0 comments on commit 93049a2

Please sign in to comment.