Skip to content

Commit

Permalink
Merge pull request halide#179 from jansel/master
Browse files Browse the repository at this point in the history
Print warnings to stderr instead of stdout
  • Loading branch information
abadams committed Nov 8, 2013
2 parents 8600c7e + 759727e commit 21517c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Func.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ int Func::add_implicit_vars(vector<Var> &args) const {
// the provided arguments.
placeholder_pos = args.size();
if ((int)args.size() < dimensions()) {
std::cout << "Implicit arguments without placeholders are deprecated. Adding " <<
std::cerr << "Implicit arguments without placeholders are deprecated. Adding " <<
dimensions() - args.size() << " arguments to Func " << name() << std::endl;

int i = 0;
Expand Down Expand Up @@ -328,7 +328,7 @@ int Func::add_implicit_vars(vector<Expr> &args) const {
// the provided arguments.
placeholder_pos = args.size();
if ((int)args.size() < dimensions()) {
std::cout << "Implicit arguments without placeholders are deprecated. Adding " <<
std::cerr << "Implicit arguments without placeholders are deprecated. Adding " <<
dimensions() - args.size() << " arguments to Func " << name() << std::endl;

int i = 0;
Expand Down

0 comments on commit 21517c0

Please sign in to comment.