diff --git a/latan/Global.hpp b/latan/Global.hpp index f4d374b..accd4f2 100644 --- a/latan/Global.hpp +++ b/latan/Global.hpp @@ -43,7 +43,7 @@ // copy/assignement from Eigen expression #define EIGEN_EXPR_CTOR(ctorName, Class, Base, EigenBase) \ template \ -ctorName(const Eigen::EigenBase &m): Base(m) {};\ +ctorName(const Eigen::EigenBase &m): Base(m) {}\ template\ Class & operator=(const Eigen::EigenBase &m)\ {\ diff --git a/latan/Io.cpp b/latan/Io.cpp index 14036b6..6ff5909 100644 --- a/latan/Io.cpp +++ b/latan/Io.cpp @@ -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; } diff --git a/latan/Mat.hpp b/latan/Mat.hpp index bcbeeb6..15eabef 100644 --- a/latan/Mat.hpp +++ b/latan/Mat.hpp @@ -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; }; diff --git a/latan/StatArray.hpp b/latan/StatArray.hpp index dc08ba9..985e48e 100644 --- a/latan/StatArray.hpp +++ b/latan/StatArray.hpp @@ -39,7 +39,7 @@ public: StatArray(void); StatArray(const unsigned int size); EIGEN_EXPR_CTOR(StatArray, unique_arg(StatArray), Base, - ArrayBase); + ArrayBase) // destructor virtual ~StatArray(void); // access