0xPolygonZero / plonky2

Apache License 2.0
758 stars 281 forks source link

fix: make `from_noncanonical_biguint` work for zero #1427

Closed shuklaayush closed 9 months ago

shuklaayush commented 9 months ago

Fixes index out of bounds: the len is 0 but the index is 0 error for GoldilocksField::from_noncanonical_biguint(BigUint::zero())

sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud