diff options
-rw-r--r-- | src/report.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/report.cc b/src/report.cc index d90d22e4..d0b64650 100644 --- a/src/report.cc +++ b/src/report.cc @@ -693,8 +693,7 @@ value_t report_t::fn_round(call_scope_t& args) value_t report_t::fn_roundto(call_scope_t& args) { - if(args.has<int>(1)) - return args[0].roundto(args.get<int>(1)); + return args[0].roundto(args.get<int>(1)); } value_t report_t::fn_unround(call_scope_t& args) |