diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-24 02:40:28 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-24 02:40:28 -0400 |
commit | 267b2ba5d80f2d4f9897fb5ad633716d5a8a6752 (patch) | |
tree | 6a97c299754b2d73372c97baaf89660083f56da0 /src/compare.cc | |
parent | 2422838005a93999d18d98d4d57dc3ada1d4781b (diff) | |
download | fork-ledger-267b2ba5d80f2d4f9897fb5ad633716d5a8a6752.tar.gz fork-ledger-267b2ba5d80f2d4f9897fb5ad633716d5a8a6752.tar.bz2 fork-ledger-267b2ba5d80f2d4f9897fb5ad633716d5a8a6752.zip |
Made commodity reduction during parsing consistent
Diffstat (limited to 'src/compare.cc')
-rw-r--r-- | src/compare.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compare.cc b/src/compare.cc index d716bcda..e8d96c62 100644 --- a/src/compare.cc +++ b/src/compare.cc @@ -53,8 +53,7 @@ namespace { sort_values.push_back(sort_value_t()); sort_values.back().inverted = inverted; - sort_values.back().value = - expr_t(node).calc(*scope).reduced().simplified(); + sort_values.back().value = expr_t(node).calc(*scope).simplified(); if (sort_values.back().value.is_null()) throw_(calc_error, |