/[escript]/trunk/escript/src/DataExpanded.cpp
ViewVC logotype

Diff of /trunk/escript/src/DataExpanded.cpp

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

revision 2742 by jfenwick, Thu Nov 12 06:03:37 2009 UTC revision 2766 by jfenwick, Mon Nov 23 05:10:53 2009 UTC
# Line 267  DataExpanded::initialise(int noSamples, Line 267  DataExpanded::initialise(int noSamples,
267    m_data.resize(noSamples,noDataPointsPerSample,getNoValues());    m_data.resize(noSamples,noDataPointsPerSample,getNoValues());
268  }  }
269    
270    bool
271    DataExpanded::hasNaN() const
272    {
273        const ValueType& v=m_data.getData();
274        for (ValueType::size_type i=0;i<v.size();++i)
275        {
276            if (nancheck(v[i]))
277            {
278                return true;
279            }
280        }
281        return false;
282    }
283    
284    
285  string  string
286  DataExpanded::toString() const  DataExpanded::toString() const
287  {  {

Legend:
Removed from v.2742  
changed lines
  Added in v.2766

  ViewVC Help
Powered by ViewVC 1.1.26