Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv31797

Added Files:
        r-cran-sp.patch 
Log Message:
compatible with 10.7

--- NEW FILE: r-cran-sp.patch ---
diff -ruN sp-orig/src/surfaceArea.c sp/src/surfaceArea.c
--- sp-orig/src/surfaceArea.c   2011-08-16 14:54:42.000000000 +0900
+++ sp/src/surfaceArea.c        2011-08-16 14:55:24.000000000 +0900
@@ -63,12 +63,15 @@
   }else{
     cellI=0; /* saves us computing 2-d array indices */
   }
-  for(int j=1;j<(*ny-1);j++){
-    for(int i=1;i<(*nx-1);i++){
+  int j;
+  int i;
+  int tri;
+  for(j=1;j<(*ny-1);j++){
+    for(i=1;i<(*nx-1);i++){
       z1 = height(heights,nx,i,j);
       cellArea=0;
       if(!ISNA(z1)){
-       for(int tri=0;tri<8;tri++){
+       for(tri=0;tri<8;tri++){
          z2=height(heights,nx,i+dxv[tri],j+dyv[tri]);
          /* replace missing adjacent values with the current cell value */
          if(ISNA(z2))z2=z1;


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to