From 06ac87ab208210bef6a30cf71e116847080d2383 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 21 Aug 2004 01:43:50 -0400 Subject: support arbitrary precision after the decimal point; increase speed 0-10% --- valexpr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'valexpr.cc') diff --git a/valexpr.cc b/valexpr.cc index fb5e632e..794b5dfd 100644 --- a/valexpr.cc +++ b/valexpr.cc @@ -171,7 +171,7 @@ void value_expr_t::compute(value_t& result, const details_t& details, case DEPTH: if (details.account) - result = (unsigned int) (details.account->depth - 1); + result = (unsigned int) details.account->depth; else result = 0U; break; -- cgit v1.2.3