Skip to content

Commit

Permalink
Merge pull request #4374 from sturlamolden/ckdtree-query-fix-memleak
Browse files Browse the repository at this point in the history
ENH: Enhancements to spatial.cKDTree
  • Loading branch information
rgommers committed May 10, 2015
2 parents aa2f836 + fcdf071 commit bea41ad
Show file tree
Hide file tree
Showing 13 changed files with 1,735 additions and 579 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ scipy/sparse/sparsetools/csc_impl.h
scipy/sparse/sparsetools/csr_impl.h
scipy/sparse/sparsetools/other_impl.h
scipy/sparse/sparsetools/sparsetools_impl.h
scipy/spatial/ckdtree.c
scipy/spatial/ckdtree/ckdtree.cxx
scipy/spatial/ckdtree/ckdtree.h
scipy/spatial/qhull.c
scipy/special/_ellip_harm_2.c
scipy/special/_ellip_harm_2.h
Expand Down
6 changes: 5 additions & 1 deletion scipy/spatial/bento.info
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ HookFile: bscript

Library:
Extension: ckdtree
Sources: ckdtree.c
Sources:
ckdtree/ckdtree.cxx,
ckdtree/src/ckdtree_query.cxx,
ckdtree/src/ckdtree_globals.cxx,
ckdtree/src/ckdtree_cpp_exc.cxx
Extension: _distance_wrap
Sources: src/distance_wrap.c
Extension: qhull
Expand Down
3 changes: 3 additions & 0 deletions scipy/spatial/bscript
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ from bento.commands import hooks
def pre_build(context):
context.tweak_extension("qhull", use="LAPACK CLIB",
defines=['qh_QHpointer=1'])

context.tweak_extension("ckdtree", features="c cxxshlib pyext bento",
includes="ckdtree/src")
Loading

0 comments on commit bea41ad

Please sign in to comment.