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

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

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

revision 1930 by phornby, Thu Oct 23 12:53:39 2008 UTC revision 1931 by artak, Mon Oct 27 01:31:28 2008 UTC
# Line 194  Paso_Pattern* Paso_Pattern_multiply(int Line 194  Paso_Pattern* Paso_Pattern_multiply(int
194      }      }
195    }    }
196            
197    out=Paso_IndexList_createPattern(0, A->numOutput,index_list,0,INDEXLIST_LENGTH,0);    out=Paso_IndexList_createPattern(0, A->numOutput,index_list,0,B->numInput,0);
198    
199    #ifdef Paso_TRACE    #ifdef Paso_TRACE
200    printf("Paso_Pattern_multipy: new pattern has been allocated.\n");    printf("Paso_Pattern_multipy: new pattern has been allocated.\n");
# Line 269  Paso_Pattern* Paso_Pattern_binop(int typ Line 269  Paso_Pattern* Paso_Pattern_binop(int typ
269      }      }
270    }    }
271    
272    out=Paso_IndexList_createPattern(0, A->numOutput,index_list,0,INDEXLIST_LENGTH,0);    out=Paso_IndexList_createPattern(0, A->numOutput,index_list,0,A->numInput,0);
273    
274    #ifdef Paso_TRACE    #ifdef Paso_TRACE
275    printf("Paso_Pattern_binop: new pattern has been allocated.\n");    printf("Paso_Pattern_binop: new pattern has been allocated.\n");

Legend:
Removed from v.1930  
changed lines
  Added in v.1931

  ViewVC Help
Powered by ViewVC 1.1.26