Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Version 1.5.6.
Browse files Browse the repository at this point in the history
Fix bug for log-likelihood of multifurcating tree with multithreading (reported by Filipe Romero)
  • Loading branch information
bqminh committed Dec 4, 2017
1 parent 0b47ae8 commit 23e4d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phylokernelnew.h
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ void PhyloTree::computePartialLikelihoodGenericSIMD(TraversalInfo &info, size_t
/*--------------------- multifurcating node ------------------*/

// now for-loop computing partial_lh over all site-patterns
VectorClass *partial_lh_all = (VectorClass*) &buffer_partial_lh_ptr[block*VectorClass::size()*2*thread_id];
VectorClass *partial_lh_all = (VectorClass*) &buffer_partial_lh_ptr[(2*block+nstates)*VectorClass::size()*thread_id];
double *vec_tip = (double*)&partial_lh_all[block];

for (ptn = ptn_lower; ptn < ptn_upper; ptn+=VectorClass::size()) {
Expand Down

0 comments on commit 23e4d13

Please sign in to comment.