Skip to content

Commit b34b63b

Browse files
committed
Fix typo in score_nodes function of node.c
1 parent 6ccc8d1 commit b34b63b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎node.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ void score_nodes(unsigned char *seq, unsigned char *rseq, int slen,
487487
/* genes are also penalized. */
488488
/**************************************************************/
489489
if(is_meta == 1 && slen < 3000 && edge_gene == 0 &&
490-
(nod[i].cscore < 5.0 || abs(nod[i].ndx-nod[i].stop_val < 120))) {
490+
(nod[i].cscore < 5.0 || abs(nod[i].ndx-nod[i].stop_val) < 120)) {
491491
nod[i].cscore -= META_PEN*dmax(0, (3000-slen)/2700.0);
492492
}
493493

@@ -515,7 +515,7 @@ void score_nodes(unsigned char *seq, unsigned char *rseq, int slen,
515515
else nod[i].sscore -= 0.5;
516516
}
517517
else if(nod[i].cscore < 5.0 && is_meta == 1 && abs(nod[i].ndx-
518-
nod[i].stop_val < 120) && nod[i].sscore < 0.0)
518+
nod[i].stop_val) < 120 && nod[i].sscore < 0.0)
519519
nod[i].sscore -= tinf->st_wt;
520520
}
521521
}

0 commit comments

Comments
 (0)