/[escript]/branches/schroedinger/escript/src/Data.cpp
ViewVC logotype

Diff of /branches/schroedinger/escript/src/Data.cpp

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

revision 1909 by jfenwick, Wed Oct 22 06:11:01 2008 UTC revision 1910 by jfenwick, Thu Oct 23 03:05:28 2008 UTC
# Line 2025  Data::powO(const boost::python::object& Line 2025  Data::powO(const boost::python::object&
2025  Data  Data
2026  Data::powD(const Data& right) const  Data::powD(const Data& right) const
2027  {  {
2028      if (isLazy() || right.isLazy())
2029      {
2030        DataLazy* c=new DataLazy(m_data,right.borrowDataPtr(),POW);
2031        return Data(c);
2032      }
2033    return C_TensorBinaryOperation<double (*)(double, double)>(*this, right, ::pow);    return C_TensorBinaryOperation<double (*)(double, double)>(*this, right, ::pow);
2034  }  }
2035    

Legend:
Removed from v.1909  
changed lines
  Added in v.1910

  ViewVC Help
Powered by ViewVC 1.1.26