possible fix for non-const mult

This commit is contained in:
myrrc 2020-12-18 17:50:16 +03:00
parent 58ef4c34c0
commit 6b956a2a0d

View File

@ -219,7 +219,8 @@ struct DecimalBinaryOperation
NativeResultType scale_a [[maybe_unused]], NativeResultType scale_b [[maybe_unused]])
{
size_t size = a.size();
if constexpr (is_plus_minus_compare)
if constexpr (is_plus_minus_compare || is_multiply)
{
if (scale_a != 1)
{