1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

DMat: copy constructor from base class

This commit is contained in:
Antonin Portelli 2014-02-10 11:19:56 +00:00
parent 1bbab23435
commit b2dea6a620
2 changed files with 9 additions and 4 deletions

View File

@ -31,12 +31,16 @@ DMat::DMat(void)
: DMatBase()
{}
DMat::DMat(const DMat& M)
: DMatBase(M)
DMat::DMat(const DMatBase &m)
: DMatBase(m)
{}
DMat::DMat(const DMat &m)
: DMatBase(m)
{}
DMat::DMat(const unsigned int nRow, const unsigned int nCol)
: DMatBase(nRow,nCol)
: DMatBase(nRow, nCol)
{}
unsigned int DMat::getType(void) const

View File

@ -37,7 +37,8 @@ class DMat: public DMatBase, public IoObject
public:
// constructors
DMat(void);
DMat(const DMat& M);
DMat(const DMatBase &m);
DMat(const DMat &m);
DMat(const unsigned int nRow, const unsigned int nCol);
// IO
virtual unsigned int getType(void) const;