Skip to content

Commit

Permalink
fix: do not use isMulti for negative recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
friedjoff committed Sep 16, 2020
1 parent 16bcbf0 commit 440077e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions lib/src/recommend.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,9 @@ function recommend(location = {}, projections = [], future = false) {
),
),
), // Level 11/12/13/14
isMulti(
union(
intersection(t123, difference(xor(...p3), union(...p12))),
difference(t123, union(...pAll)),
),
union(
intersection(t123, difference(xor(...p3), union(...p12))),
difference(t123, union(...pAll)),
), // Level 15/16/17
union(today4, ...p4), // Level 18 (attention)
isFuture(difference(xor(...p4), ...today4)), // Level 19 (attention)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@geops/tree-app",
"description": "Web app for tree recommendations.",
"license": "MIT",
"version": "2.0.0",
"version": "2.0.0-fix.1",
"private": true,
"dependencies": {
"history": "4.10.1",
Expand Down

0 comments on commit 440077e

Please sign in to comment.