Hi,

On 12 Oct 2012, at 05:02, JuanPi wrote:

> Hi,
> 
> I have uploaded geometry 1.6.0 to the server
> https://sourceforge.net/p/octave/package-releases/6/
> https://sourceforge.net/p/octave/package-releases/5/
> 
> NEWS
> https://sourceforge.net/p/octave/code/11242/tree/trunk/octave-forge/main/geometry/NEWS
> 
> If everything is OK please upload.
> 
I just checked in this small fix for a bug I had caused myself:

Index: distancePointPolyline.m
===================================================================
--- distancePointPolyline.m     (revision 11242)
+++ distancePointPolyline.m     (working copy)
@@ -48,6 +48,8 @@
   # allocate memory for result
   minDist = inf * ones(Np, 1);
 
+  ## construct the set of edges
+  edges = [poly(1:end-1, :) poly(2:end, :)];
 
   ## compute distance between current each point and all edges
   dist = distancePointEdge(point, edges);

Is it too late to include this in the release?

> BTW, several figures are missing in the documentation because they
> can't be created with gnuplot. Currently only fltk plots them, but the
> output of ftlk is not added to the generated html.
> 
> -- 
> JuanPi Carbajal
> -----
c.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to