mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 22:35:44 +00:00
moved constructor generator argument to template parameter
This commit is contained in:
parent
538950ca88
commit
b54be1c997
6 changed files with 22 additions and 22 deletions
|
|
@ -54,8 +54,8 @@ int popcnt(TYPE x)
|
|||
|
||||
int main()
|
||||
{
|
||||
CODE::ShortBCHCodeEncoder<CODE_LEN, DATA_LEN> encode(GEN_POLY);
|
||||
CODE::ShortBCHCodeDecoder<CODE_LEN, DATA_LEN, RADIUS_T> decode(GEN_POLY);
|
||||
CODE::ShortBCHCodeEncoder<CODE_LEN, DATA_LEN, GEN_POLY> encode;
|
||||
CODE::ShortBCHCodeDecoder<CODE_LEN, DATA_LEN, GEN_POLY, RADIUS_T> decode;
|
||||
|
||||
std::random_device rd;
|
||||
std::default_random_engine generator(rd());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue