summaryrefslogtreecommitdiff
path: root/src/compare.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compare.cc')
-rw-r--r--src/compare.cc3
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,