1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-04-10 19:20:44 +01: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() : DMatBase()
{} {}
DMat::DMat(const DMat& M) DMat::DMat(const DMatBase &m)
: DMatBase(M) : DMatBase(m)
{}
DMat::DMat(const DMat &m)
: DMatBase(m)
{} {}
DMat::DMat(const unsigned int nRow, const unsigned int nCol) DMat::DMat(const unsigned int nRow, const unsigned int nCol)
: DMatBase(nRow,nCol) : DMatBase(nRow, nCol)
{} {}
unsigned int DMat::getType(void) const unsigned int DMat::getType(void) const

View File

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