Ignore:
Timestamp:
Nov 19, 2004, 11:11:48 AM (20 years ago)
Author:
steve
Message:

Cleared conflicts with home and work sparse code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/sparse_ext.c

    r596 r597  
    2424  long i, j, ckey;
    2525
    26   printf("test");
     26  //printf("test");
    2727  for (i=0; i<M; i++ )
    2828    for (ckey=row_ptr[i]; ckey<row_ptr[i+1]; ckey++) {
     
    3131    }             
    3232 
    33   printf("end");
     33  //printf("end");
    3434  return 0;
    3535}           
     
    9595
    9696
    97   printf(" x.dim[0] = %i  x.dim[1] = %i \n", x -> dimensions[0], x -> dimensions[1]);
     97  //printf(" x.dim[0] = %i  x.dim[1] = %i \n", x -> dimensions[0], x -> dimensions[1]);
    9898   
    9999  //Allocate space for return vectors y (don't DECREF)
     
    101101  y = (PyArrayObject *) PyArray_FromDims(1, dimensions, PyArray_DOUBLE);
    102102 
    103   for (i=0;i<25;i++){
    104     printf(" data[%i]=%i\n",i,(data->data)[i]);
    105   }
     103/*   for (i=0;i<25;i++){ */
     104/*     printf(" data[%i]=%i\n",i,(data->data)[i]); */
     105/*   } */
    106106
    107   for (i=0;i<25;i++){
    108     printf(" colind[%i]=%i\n",i,(colind->data)[i]);
    109   }
     107/*   for (i=0;i<25;i++){ */
     108/*     printf(" colind[%i]=%i\n",i,(colind->data)[i]); */
     109/*   } */
     110
    110111  err = _csr_mv(M,
    111112                (double*) data -> data,
     
    115116                (double*) y -> data);
    116117
    117   for (i=0;i<25;i++){
    118     printf(" data[%i]=%i\n",i,data->data[i]);
    119   }
     118/*   for (i=0;i<25;i++){ */
     119/*     printf(" data[%i]=%i\n",i,data->data[i]); */
     120/*   } */
    120121                           
    121122  if (err != 0) {
Note: See TracChangeset for help on using the changeset viewer.