summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-06-05 14:04:59 -0400
committerErik Schnetter <schnetter@gmail.com>2013-06-05 14:04:59 -0400
commit2897cb7a480b64a8817b02777c8a111bc5a87fed (patch)
tree21c1c5f903107be994c49cce8a9fe04eb0d1b029
parentbf83e9b7cc6119bdfd471b05c8610212e582ae2b (diff)
downloadvecmathlib-2897cb7a480b64a8817b02777c8a111bc5a87fed.zip
vecmathlib-2897cb7a480b64a8817b02777c8a111bc5a87fed.tar.gz
More debug output
-rw-r--r--test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test.cc b/test.cc
index 7f59db1..11510b2 100644
--- a/test.cc
+++ b/test.cc
@@ -146,7 +146,9 @@ struct vecmathlib_test {
for (int i=0; i<realvec_t::size; ++i) {
isbad2.set_elt(i, x[i] != xwant[i]);
}
- cout << "isgood=" << isgood << " [" << hex(isgood) << "]\n"
+ cout << "x=" << x << " [" << hex(x) << "]\n"
+ << "xwant=" << xwant << " [" << hex(xwant) << "]\n"
+ << "isgood=" << isgood << " [" << hex(isgood) << "]\n"
<< "isbad=" << isbad << " [" << hex(isbad) << "]\n"
<< "isbad2=" << isbad2 << " [" << hex(isbad2) << "]\n";
if (any(isbad2)) {
OpenPOWER on IntegriCloud