Skip to content

Commit

Permalink
added default value for argument bucket-size of list->kd-tree*; versi…
Browse files Browse the repository at this point in the history
…on set to 5.1
  • Loading branch information
iraikov committed Jan 27, 2016
1 parent 1262693 commit d0e14a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kd-tree.scm
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ EOF
))

(list->kd-tree/depth
(lambda (points depth bucket-size)
(lambda (points depth #!key (bucket-size (* 10 (max (log2 (length points)) 1))))

(cond

Expand Down
2 changes: 1 addition & 1 deletion kd-tree.setup
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
`(,(dynld-name "kd-tree") ,(dynld-name "kd-tree.import") )

;; Assoc list with properties for your extension:
'((version 5.0)
'((version 5.1)
))

0 comments on commit d0e14a3

Please sign in to comment.