Skip to content

Commit d73a7e4

Browse files
committed
Copy presence bit for the delta case
1 parent 6b699d4 commit d73a7e4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/mfast/coder/encoder/encoder_field_operator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ class delta_operator : public encoder_field_operator,
548548
cref.exponent() - bv.of_decimal.exponent_;
549549
delta_storage.of_decimal.mantissa_ =
550550
cref.mantissa() - bv.of_decimal.mantissa_;
551+
delta_storage.of_decimal.present_ = cref.present();
551552

552553
decimal_cref delta(&delta_storage, cref.instruction());
553554
stream << delta;

0 commit comments

Comments
 (0)