diff --git a/yacl/math/galois_field/mcl_field/mcl_field.cc b/yacl/math/galois_field/mcl_field/mcl_field.cc index 450b111e..dfcc3f66 100644 --- a/yacl/math/galois_field/mcl_field/mcl_field.cc +++ b/yacl/math/galois_field/mcl_field/mcl_field.cc @@ -305,7 +305,7 @@ T MclField::DeserializeT(ByteContainerView buffer) const { template MclField::MclField(const MPInt& order, Type field_type) { switch (field_type) { - case Type::Normal: { + case Type::Add: { order_ = 0_mp; order_mul_ = 0_mp; order_add_ = order;