Open drskalman opened 3 years ago
now I'm getting const generic error from cantor basis array. I'd change these from constant array to constant slice like in arkwork and retry.
```
error: internal compiler error: /rustc/68369a041cea809a87e5bd80701da90e0e0a4799/compiler/rustc_codegen_ssa/src/mir/constant.rs:42:20: encountered bad ConstKind after monomorphizing: Error(DelaySpanBugEmitted(()))
--> reed-solomon-novelpoly/src/field/field_util.rs:58:17 | 58 | let b = F::BASE[i+1];
expression like
let test_log = F2e16::LOG_TABLE[1];
makes the rust compiler crash. As a remedy one can replace that withlet test_log = F2e16::get_log_table(1);
till rust people figure out their bug. Same goes with EXP_TABLE etc.