/[escript]/trunk/paso/src/Pattern_getSubpattern.c
ViewVC logotype

Diff of /trunk/paso/src/Pattern_getSubpattern.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3311 by jfenwick, Mon Oct 11 01:48:14 2010 UTC revision 3312 by gross, Tue Oct 26 07:54:58 2010 UTC
# Line 33  Line 33 
33    
34  Paso_Pattern* Paso_Pattern_getSubpattern(Paso_Pattern* pattern, \  Paso_Pattern* Paso_Pattern_getSubpattern(Paso_Pattern* pattern, \
35                                             int newNumRows, int newNumCols, index_t* row_list,index_t* new_col_index) {                                             int newNumRows, int newNumCols, index_t* row_list,index_t* new_col_index) {
36    index_t index_offset=(pattern->type & PATTERN_FORMAT_OFFSET1 ? 1:0);    index_t index_offset=(pattern->type & MATRIX_FORMAT_OFFSET1 ? 1:0);
37    Paso_Pattern*out=NULL;    Paso_Pattern*out=NULL;
38    index_t *ptr=NULL,*index=NULL,k,j,subpattern_row,tmp;    index_t *ptr=NULL,*index=NULL,k,j,subpattern_row,tmp;
39    dim_t i;    dim_t i;

Legend:
Removed from v.3311  
changed lines
  Added in v.3312

  ViewVC Help
Powered by ViewVC 1.1.26