ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/math/DynamicRectMatrix.hpp
(Generate patch)

Comparing trunk/src/math/DynamicRectMatrix.hpp (file contents):
Revision 1359 by cli2, Wed May 20 19:35:05 2009 UTC vs.
Revision 1360 by cli2, Mon Sep 7 16:31:51 2009 UTC

# Line 66 | Line 66 | namespace oopse {
66      typedef DynamicRectMatrix<Real> SelfType;
67              
68      /** default constructor */
69 <    DynamicRectMatrix(){}
69 >    DynamicRectMatrix(){
70 >      nrow_ = 0;
71 >      ncol_ = 0;
72 >      data_ = NULL;
73 >    }
74 >
75      DynamicRectMatrix(int nrow, int ncol) {
76        allocate(nrow, ncol);
77  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines