Skip to content

Commit

Permalink
Update ea_code.h
Browse files Browse the repository at this point in the history
  • Loading branch information
maths644311798 authored Jan 18, 2024
1 parent cf3008f commit acd1268
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions yacl/crypto/primitives/code/ea_code.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ class ExAccCode : public ExAccCodeInterface {

explicit ExAccCode(uint32_t n, uint32_t m) : n_(n), m_(m) {
YACL_ENFORCE(m >= n);
YACL_ENFORCE(n > d,
"ExAccCode: Length should be much greater than Weight");
YACL_ENFORCE(n > d, "ExAccCode: Length should be much greater than Weight");
};

uint32_t GetDimention() const override { return m_; }
Expand Down

0 comments on commit acd1268

Please sign in to comment.