[Pkg-octave-commit] r2456 - octave-forge-pkgs/octave-ann/trunk/debian/patches

Rafael Laboissiere rafael at alioth.debian.org
Tue Nov 18 09:11:31 UTC 2008


Author: rafael
Date: 2008-11-18 09:11:31 +0000 (Tue, 18 Nov 2008)
New Revision: 2456

Modified:
   octave-forge-pkgs/octave-ann/trunk/debian/patches/cope-with-null-args.diff
   octave-forge-pkgs/octave-ann/trunk/debian/patches/remove-own-pts.diff
Log:
Add description headers to patches


Modified: octave-forge-pkgs/octave-ann/trunk/debian/patches/cope-with-null-args.diff
===================================================================
--- octave-forge-pkgs/octave-ann/trunk/debian/patches/cope-with-null-args.diff	2008-11-18 09:11:18 UTC (rev 2455)
+++ octave-forge-pkgs/octave-ann/trunk/debian/patches/cope-with-null-args.diff	2008-11-18 09:11:31 UTC (rev 2456)
@@ -1,3 +1,11 @@
+Redefined prototypes for ANNbruteForce::annkFRSearch and
+ANNkd_tree::annkFRSearch methods such that they only accept 5/6 or 2
+input arguments.  This is needed because the SWIG wrapping needs to
+generate the outpu nn_idx and dd arrays when only their length k is
+given.
+
+ -- Rafael Laboissiere <rafael at localhost>  Tue, 18 Nov 2008 08:34:16 +0100
+
 --- a/src/ann/bindings/ann.i
 +++ b/src/ann/bindings/ann.i
 @@ -73,6 +73,21 @@

Modified: octave-forge-pkgs/octave-ann/trunk/debian/patches/remove-own-pts.diff
===================================================================
--- octave-forge-pkgs/octave-ann/trunk/debian/patches/remove-own-pts.diff	2008-11-18 09:11:18 UTC (rev 2455)
+++ octave-forge-pkgs/octave-ann/trunk/debian/patches/remove-own-pts.diff	2008-11-18 09:11:31 UTC (rev 2456)
@@ -1,3 +1,10 @@
+Do not rely on the changed API where the onw_pts input arguments were
+defined.  Instead of that, extend the ANNbruteForce, ANNkd_tree, and
+ANNbd_tree classes to deallocate the array of points in their
+destructor methods.
+
+ -- Rafael Laboissiere <rafael at localhost>  Tue, 18 Nov 2008 08:34:16 +0100
+
 --- a/src/ann/bindings/ann.i
 +++ b/src/ann/bindings/ann.i
 @@ -15,10 +15,10 @@




More information about the Pkg-octave-commit mailing list