/[escript]/branches/clazy/escriptcore/src/DataLazy.cpp
ViewVC logotype

Diff of /branches/clazy/escriptcore/src/DataLazy.cpp

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

revision 6074 by jfenwick, Fri Mar 18 02:42:48 2016 UTC revision 6082 by jfenwick, Tue Mar 22 02:57:49 2016 UTC
# Line 1191  DataLazy::resolveNodeReduction(int tid, Line 1191  DataLazy::resolveNodeReduction(int tid,
1191            for (unsigned int z=0;z<ndpps;++z)            for (unsigned int z=0;z<ndpps;++z)
1192            {            {
1193              FMin op;              FMin op;
1194              *result=DataMaths::reductionOp(*leftres, m_left->getShape(), loffset, op, numeric_limits<double>::max());              *result=DataMaths::reductionOpVector(*leftres, m_left->getShape(), loffset, op, numeric_limits<double>::max());
1195              loffset+=psize;              loffset+=psize;
1196              result++;              result++;
1197            }            }
# Line 1202  DataLazy::resolveNodeReduction(int tid, Line 1202  DataLazy::resolveNodeReduction(int tid,
1202            for (unsigned int z=0;z<ndpps;++z)            for (unsigned int z=0;z<ndpps;++z)
1203            {            {
1204            FMax op;            FMax op;
1205            *result=DataMaths::reductionOp(*leftres, m_left->getShape(), loffset, op, numeric_limits<double>::max()*-1);            *result=DataMaths::reductionOpVector(*leftres, m_left->getShape(), loffset, op, numeric_limits<double>::max()*-1);
1206            loffset+=psize;            loffset+=psize;
1207            result++;            result++;
1208            }            }

Legend:
Removed from v.6074  
changed lines
  Added in v.6082

  ViewVC Help
Powered by ViewVC 1.1.26