diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-06-05 13:59:43 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-06-05 13:59:43 -0400 |
commit | bf83e9b7cc6119bdfd471b05c8610212e582ae2b (patch) | |
tree | a013a0a24f5220817b2b8046f52bf08aa80263d2 | |
parent | 790367599d1b912203d833532154bf949c990e22 (diff) | |
download | vecmathlib-bf83e9b7cc6119bdfd471b05c8610212e582ae2b.zip vecmathlib-bf83e9b7cc6119bdfd471b05c8610212e582ae2b.tar.gz |
More debug output
-rw-r--r-- | test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -141,11 +141,13 @@ struct vecmathlib_test { } #warning "undo this" const boolvec_t isbad = x != xwant; + const boolvec_t isgood = x == xwant; boolvec_t isbad2; for (int i=0; i<realvec_t::size; ++i) { isbad2.set_elt(i, x[i] != xwant[i]); } - cout << "isbad=" << isbad << " [" << hex(isbad) << "]\n" + cout << "isgood=" << isgood << " [" << hex(isgood) << "]\n" + << "isbad=" << isbad << " [" << hex(isbad) << "]\n" << "isbad2=" << isbad2 << " [" << hex(isbad2) << "]\n"; if (any(isbad2)) { ++ num_errors; |