Skip to content
Snippets Groups Projects
Commit d84bb72f authored by Christian Beckmann's avatar Christian Beckmann
Browse files

*** empty log message ***

parent 8924a987
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ namespace Utilities{
void out(const string& p_fname, const ColumnVector& p_mat, const string& plogfilename = "logfile");
static int counter() { return count++; }
ofstream& str();
ofstream& str(const string& plogfilename = "logfile");
private:
Log():logEstablished(false) {}
......@@ -60,7 +60,7 @@ namespace Utilities{
bool logEstablished;
};
inline void Log::out(const string& p_fname, const Matrix& p_mat)
inline void Log::out(const string& p_fname, const Matrix& p_mat, const string& plogfilename)
{
if(!logEstablished)
......@@ -85,7 +85,7 @@ namespace Utilities{
out.close();
}
inline void Log::out(const string& p_fname, const ColumnVector& p_mat)
inline void Log::out(const string& p_fname, const ColumnVector& p_mat, const string& plogfilename)
{
if(!logEstablished)
{
......@@ -105,7 +105,7 @@ namespace Utilities{
out.close();
}
inline void Log::out(const string& p_fname, const RowVector& p_mat)
inline void Log::out(const string& p_fname, const RowVector& p_mat, const string& plogfilename)
{
if(!logEstablished)
......@@ -133,7 +133,7 @@ namespace Utilities{
return *logger;
}
inline ofstream& Log::str() {
inline ofstream& Log::str(const string& plogfilename) {
if(!logEstablished)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment