summaryrefslogtreecommitdiff
path: root/valexpr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'valexpr.cc')
-rw-r--r--valexpr.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/valexpr.cc b/valexpr.cc
index 862f730d..e417a66f 100644
--- a/valexpr.cc
+++ b/valexpr.cc
@@ -114,8 +114,8 @@ void value_expr_t::compute(value_t& result, const details_t& details) const
break;
case VALUE_EXPR:
- assert(format_t::value_expr);
- format_t::value_expr->compute(result, details);
+ assert(format_t::amount_expr);
+ format_t::amount_expr->compute(result, details);
break;
case TOTAL_EXPR:
assert(format_t::total_expr);