Skip to content

Commit

Permalink
fixed simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
ihh committed Mar 7, 2017
1 parent 972f884 commit 1240fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
var implicitTermState = sim.termName.map (function() { return false })
if (sim.nActiveTerms) {
var rt = sim.assocs.relevantTerms()
if (sim.excludeAncestralTerms)
if (sim.excludeAncestralTerms || sim.termAssociationCutoff)
rt = rt.filter (function (termIndex) {
return ontology.children[termIndex].length == 0
&& (typeof(sim.termAssociationCutoff) === 'undefined'
Expand Down

0 comments on commit 1240fe4

Please sign in to comment.