Skip to content

Commit

Permalink
Fix conditional test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjcroucher committed Apr 19, 2024
1 parent fbd7e33 commit 02e5201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/branch_sequences.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ void generate_branch_sequences(newick_node *node, char ** node_sequences, char *
// Retrieve child sequences from store
for (int seq_store_index = 0; seq_store_index < num_stored_nodes; ++seq_store_index)
{
if (node_names[seq_store_index] == *child->node->taxon) {
child_sequences[child_counter] = &node_sequences[seq_store_index];
if (node_names[seq_store_index] == child->node->taxon) {
child_sequences[child_counter] = node_sequences[seq_store_index];
break;
}
}
Expand Down

0 comments on commit 02e5201

Please sign in to comment.