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

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

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

revision 82 by jgs, Tue Oct 26 06:53:54 2004 UTC revision 97 by jgs, Tue Dec 14 05:39:33 2004 UTC
# Line 1  Line 1 
1    // $Id$
2  /*  /*
3   ******************************************************************************   ******************************************************************************
4   *                                                                            *   *                                                                            *
# Line 60  int numSamplesEqual(struct escriptDataC* Line 61  int numSamplesEqual(struct escriptDataC*
61    
62  int getDataPointRank(struct escriptDataC* data)  int getDataPointRank(struct escriptDataC* data)
63  {  {
64    escript::Data* temp=(escript::Data*)(data->m_dataPtr);    if (data == (struct escriptDataC*)0) {
65    return temp->getDataPointRank();         return 0;
66      } else {
67           escript::Data* temp=(escript::Data*)(data->m_dataPtr);
68           return temp->getDataPointRank();
69      }
70  }  }
71    
72  int* getDataPointShape(struct escriptDataC* data)  int* getDataPointShape(struct escriptDataC* data)

Legend:
Removed from v.82  
changed lines
  Added in v.97

  ViewVC Help
Powered by ViewVC 1.1.26