Commit d748529a authored by Davis King's avatar Davis King

fixed cout and cerr in mex wrapper

parent 7e8109b7
...@@ -2946,7 +2946,7 @@ namespace mex_binding ...@@ -2946,7 +2946,7 @@ namespace mex_binding
setp(&buf[0], &buf[0] + buf.size()-2); setp(&buf[0], &buf[0] + buf.size()-2);
// make cout send data to mex_warn_streambuf // make cout send data to mex_warn_streambuf
std::cout.rdbuf(this); std::cerr.rdbuf(this);
} }
......
Markdown is supported
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