Skip to content
Snippets Groups Projects
Commit c977b666 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

warning output stream should be cerr

parent a64362f4
No related branches found
No related tags found
No related merge requests found
/* /*
* Copyright (C) 2010-2011 Dynare Team * Copyright (C) 2010-2012 Dynare Team
* *
* This file is part of Dynare. * This file is part of Dynare.
* *
...@@ -389,7 +389,7 @@ ConfigFile::checkPass() const ...@@ -389,7 +389,7 @@ ConfigFile::checkPass() const
#if !defined(_WIN32) && !defined(__CYGWIN32__) #if !defined(_WIN32) && !defined(__CYGWIN32__)
//For Linux/Mac, check that cpuNbr starts at 0 //For Linux/Mac, check that cpuNbr starts at 0
if (it->second->minCpuNbr != 0) if (it->second->minCpuNbr != 0)
cout << "WARNING: On Unix-based operating systems, you cannot specify the CPU that is used" << endl cerr << "WARNING: On Unix-based operating systems, you cannot specify the CPU that is used" << endl
<< " in parallel processing. This will be adjusted for you such that the same" << endl << " in parallel processing. This will be adjusted for you such that the same" << endl
<< " number of CPUs are used." << endl; << " number of CPUs are used." << endl;
#endif #endif
......
/* /*
* Copyright (C) 2006-2011 Dynare Team * Copyright (C) 2006-2012 Dynare Team
* *
* This file is part of Dynare. * This file is part of Dynare.
* *
...@@ -192,7 +192,7 @@ ModFile::checkPass() ...@@ -192,7 +192,7 @@ ModFile::checkPass()
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
else else
cout << "WARNING: When estimating a DSGE-Var, declaring dsge_prior_weight as a parameter is deprecated. " cerr << "WARNING: When estimating a DSGE-Var, declaring dsge_prior_weight as a parameter is deprecated. "
<< "The preferred method is to do this via the dsge_var option in the estimation statement." << endl; << "The preferred method is to do this via the dsge_var option in the estimation statement." << endl;
if (mod_file_struct.dsge_var_estimated || !mod_file_struct.dsge_var_calibrated.empty()) if (mod_file_struct.dsge_var_estimated || !mod_file_struct.dsge_var_calibrated.empty())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment