Bug#336267: [edd@debian.org: Re: [Pkg-octave-devel] Bug#336267: octave-forge: Extra packages not installed ?]

Balbir Thomas thomas.1037 at osu.edu
Sun Oct 30 00:43:24 UTC 2005


Hi,

patch for compile failure is included here and also forwarded to you.

------------------------------------------------------------------------ 
--- tk_interp.old	2005-10-29 20:36:59.000000000 -0400
+++ tk_interp.cc	2005-10-29 20:34:16.000000000 -0400
@@ -699,10 +699,10 @@
    // colors->SetNumberOfScalars(numPts);
 
    // Convert values from Octave matrix and store in VTK object
-   float p[3];
+   double p[3];
    for(int k = 0; k < numPts; k++)
    {
-      input->GetPoint(k, p);
+      input->vtkPointSet::GetPoint(k, p);
       int row = int((p[0] + 0.5) * (float) (m.rows() - 1));
       int col = int((p[1] + 0.5) * (float) (m.cols() - 1));
       p[2] = ((m.elem(row, col) - min) / (max - min)) - 0.5;


-------------------------------------------------------------------------
- balbir

> Please do send patches upstream.  Nobody is actively maintaining this 
> package and it is not installed by default so few people compile it.  
> I'm not surprised that bit rot is setting in.
> 
> - Paul
>




More information about the Pkg-octave-devel mailing list