/[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 2799 by jfenwick, Thu Dec 3 01:35:08 2009 UTC revision 2824 by jfenwick, Wed Dec 16 01:22:56 2009 UTC
# Line 1606  DataLazy::resolveGroupWorker(std::vector Line 1606  DataLazy::resolveGroupWorker(std::vector
1606    vector<DataLazy*> work;    vector<DataLazy*> work;
1607    FunctionSpace fs=dats[0]->getFunctionSpace();    FunctionSpace fs=dats[0]->getFunctionSpace();
1608    bool match=true;    bool match=true;
1609    for (int i=dats.size()-1;i>0;--i)    for (int i=dats.size()-1;i>=0;--i)
1610    {    {
1611      if (dats[i]->m_readytype!='E')      if (dats[i]->m_readytype!='E')
1612      {      {
# Line 1659  DataLazy::resolveGroupWorker(std::vector Line 1659  DataLazy::resolveGroupWorker(std::vector
1659          }          }
1660      }      }
1661      // Now we need to load the new results as identity ops into the lazy nodes      // Now we need to load the new results as identity ops into the lazy nodes
1662      for (int i=work.size()-1;i>0;--i)      for (int i=work.size()-1;i>=0;--i)
1663      {      {
1664          work[i]->makeIdentity(boost::dynamic_pointer_cast<DataReady>(dep[i]->getPtr()));          work[i]->makeIdentity(boost::dynamic_pointer_cast<DataReady>(dep[i]->getPtr()));
1665      }      }

Legend:
Removed from v.2799  
changed lines
  Added in v.2824

  ViewVC Help
Powered by ViewVC 1.1.26