Skip to content

Commit

Permalink
Merge pull request #188 from pelias/default-priority-thresh
Browse files Browse the repository at this point in the history
fix: Set a default `priorityThresh`
  • Loading branch information
orangejulius authored May 5, 2020
2 parents 1dc5ff6 + 6b307c4 commit f936f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/eval_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function printRequestErrorMessage(testCase, response) {

function createContext(testSuite, locations) {
return {
priorityThresh: testSuite.priorityThresh,
priorityThresh: testSuite.priorityThresh || 10,
distanceThresh: testSuite.distanceThresh,
locations: locations,
weights: testSuite.weights,
Expand Down

0 comments on commit f936f35

Please sign in to comment.