warning output stream should be cerr
parent
32061f4f9d
commit
7c8baba064
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* 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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* 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())
|
||||
|
|
Loading…
Reference in New Issue