Commit c977b666 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

warning output stream should be cerr

parent a64362f4
/*
* Copyright (C) 2010-2011 Dynare Team
* Copyright (C) 2010-2012 Dynare Team
*
* This file is part of Dynare.
*
......@@ -389,7 +389,7 @@ ConfigFile::checkPass() const
#if !defined(_WIN32) && !defined(__CYGWIN32__)
//For Linux/Mac, check that cpuNbr starts at 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
<< " number of CPUs are used." << endl;
#endif
......
/*
* Copyright (C) 2006-2011 Dynare Team
* Copyright (C) 2006-2012 Dynare Team
*
* This file is part of Dynare.
*
......@@ -192,7 +192,7 @@ ModFile::checkPass()
exit(EXIT_FAILURE);
}
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;
if (mod_file_struct.dsge_var_estimated || !mod_file_struct.dsge_var_calibrated.empty())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment