Browse Source
Fix assertion failure in circuit.merkle_tree_gadget_weirdness test on Windows zcash-gtest.exe fails ``` [ RUN ] circuit.merkle_tree_gadget_weirdness Assertion failed! Program: C:\zcash-gtest.exe File: ./snark/libsnark/gadgetlib1/gadgets/basic_gadgets.tcc, Line 50 Expression: this->pb.lc_val(packed).as_bigint().num_bits() <= bits.size() ``` The argument type of `__builtin_clzl()` function is unsigned long. So, we need to replace `__builtin_clzl` with `__builtin_clzll`. (The argument type of `__builtin_clzll()` is unsigned long long (64bit)).pull/4/head
![sysadmin@z.cash](/assets/img/avatar_default.png)
14 changed files with 30 additions and 29 deletions
Loading…
Reference in new issue