diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-02-14 04:55:19 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-02-14 04:55:19 (GMT) |
commit | d5019a964e376e8ad0ad398cc4cfb3d97509402d (patch) | |
tree | 0cb9b316ff1aff9a7befec2b6630f93746776d1b /src/transform.cc | |
parent | c1b1d0992f78ecafb4212994207ee7cc7cbb6b39 (diff) |
deal with test suite issues under mingw-cross compile and wine
Diffstat (limited to 'src/transform.cc')
-rw-r--r-- | src/transform.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transform.cc b/src/transform.cc index 0f678c5..d94e0d4 100644 --- a/src/transform.cc +++ b/src/transform.cc @@ -29,6 +29,8 @@ #include "context.h" #include "polyset.h" #include "builtin.h" +#include "value.h" +#include "printutils.h" #include <sstream> #include <vector> #include <assert.h> @@ -189,7 +191,7 @@ std::string TransformNode::toString() const stream << "["; for (int i=0;i<4;i++) { // FIXME: The 0 test is to avoid a leading minus before a single 0 (cosmetics) - stream << ((this->matrix(j, i)==0)?0:this->matrix(j, i)); + stream << two_digit_exp_format((this->matrix(j, i)==0)?0:this->matrix(j, i)); if (i != 3) stream << ", "; } stream << "]"; |