Skip to content

Commit

Permalink
added missinc comma in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxOo committed Jun 3, 2021
1 parent 01d2222 commit 0b65d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let simpleResult = dbscan({
//}

let objectResult = dbscan({
dataset: [{ foo: 21 }, { foo: 22 }, { foo: 27 }, { foo: 28 }]
dataset: [{ foo: 21 }, { foo: 22 }, { foo: 27 }, { foo: 28 }],
epsilon: 1.1,
distanceFunction: (a,b) => Math.abs(a.foo - b.foo)
});
Expand Down

0 comments on commit 0b65d38

Please sign in to comment.