mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
portability fixes
This commit is contained in:
parent
3510898ee9
commit
79e5a39a36
@ -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)\
|
||||
{\
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user