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

portability fixes

This commit is contained in:
Antonin Portelli 2014-02-20 20:20:37 +00:00
parent 3510898ee9
commit 79e5a39a36
4 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@
// copy/assignement from Eigen expression
#define EIGEN_EXPR_CTOR(ctorName, Class, Base, EigenBase) \
template <typename Derived>\
ctorName(const Eigen::EigenBase<Derived> &m): Base(m) {};\
ctorName(const Eigen::EigenBase<Derived> &m): Base(m) {}\
template<typename Derived>\
Class & operator=(const Eigen::EigenBase<Derived> &m)\
{\

View File

@ -116,7 +116,7 @@ void AsciiFile::save(const DMat &m, const std::string &name)
isParsed_ = false;
fileStream_ << "#L latan_begin mat " << name << endl;
fileStream_ << m.cols() << endl;
fileStream_ << scientific << m << defaultfloat << endl;
fileStream_ << scientific << m << endl;
fileStream_ << "#L latan_end mat " << endl;
}

View File

@ -34,7 +34,7 @@ public:
// constructors
DMat(void);
DMat(const unsigned int nRow, const unsigned int nCol);
EIGEN_EXPR_CTOR(DMat, DMat, Base, MatrixBase);
EIGEN_EXPR_CTOR(DMat, DMat, Base, MatrixBase)
// IO
virtual IoType getType(void) const;
};

View File

@ -39,7 +39,7 @@ public:
StatArray(void);
StatArray(const unsigned int size);
EIGEN_EXPR_CTOR(StatArray, unique_arg(StatArray<T, offset>), Base,
ArrayBase);
ArrayBase)
// destructor
virtual ~StatArray(void);
// access