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

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

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

revision 3282 by jfenwick, Mon Oct 11 01:48:14 2010 UTC revision 3283 by gross, Mon Oct 18 22:39:28 2010 UTC
# Line 38  Paso_Pattern* Paso_Pattern_unrollBlocks( Line 38  Paso_Pattern* Paso_Pattern_unrollBlocks(
38    index_t index_offset_out=(type & PATTERN_FORMAT_OFFSET1 ? 1:0);    index_t index_offset_out=(type & PATTERN_FORMAT_OFFSET1 ? 1:0);
39        
40    Esys_resetError();    Esys_resetError();
   if ((pattern->type & PATTERN_FORMAT_SYM) != (type & PATTERN_FORMAT_SYM)) {  
       Esys_setError(TYPE_ERROR,"Paso_Pattern_unrollBlocks: conversion between symmetric and non-symmetric is not implemented yet");  
       return NULL;  
   }  
41    if ( ( output_block_size == 1 ) && (input_block_size == 1) && ((pattern->type & PATTERN_FORMAT_OFFSET1) == (type & PATTERN_FORMAT_OFFSET1) ) ) {    if ( ( output_block_size == 1 ) && (input_block_size == 1) && ((pattern->type & PATTERN_FORMAT_OFFSET1) == (type & PATTERN_FORMAT_OFFSET1) ) ) {
42       out = Paso_Pattern_getReference(pattern);       out = Paso_Pattern_getReference(pattern);
43    } else {    } else {

Legend:
Removed from v.3282  
changed lines
  Added in v.3283

  ViewVC Help
Powered by ViewVC 1.1.26