Changeset 5786 for issm/trunk/src/c/Container/Nodes.cpp
- Timestamp:
- 09/13/10 16:20:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Container/Nodes.cpp
r5772 r5786 108 108 numnodes=this->NumberOfNodes(analysis_type); 109 109 110 truedofs=(int*)xcalloc(numnodes*maxdofspernode,sizeof(int)); //initialize to 0, so that we can pick up the max 111 alltruedofs=(int*)xcalloc(numnodes*maxdofspernode,sizeof(int)); 110 if (numnodes*maxdofspernode){ 111 truedofs=(int*)xcalloc(numnodes*maxdofspernode,sizeof(int)); //initialize to 0, so that we can pick up the max 112 alltruedofs=(int*)xcalloc(numnodes*maxdofspernode,sizeof(int)); 113 } 112 114 113 115 for (i=0;i<this->Size();i++){
Note:
See TracChangeset
for help on using the changeset viewer.