summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/commodity.cc')
-rw-r--r--src/commodity.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commodity.cc b/src/commodity.cc
index 60ddaec6..0a751941 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -663,7 +663,7 @@ void annotation_t::parse(std::istream& in)
// may have only specified {$1} or something similar.
if (temp.has_commodity() &&
- temp.precision() < temp.commodity().precision())
+ temp.precision() > temp.commodity().precision())
temp = temp.round(); // no need to retain individual precision
#endif