mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 22:35:44 +00:00
made T a template parameter
This commit is contained in:
parent
f8b782033d
commit
77f27a8c5e
4 changed files with 7 additions and 7 deletions
|
|
@ -15,7 +15,7 @@ template <int N, int K, int T, int POLY>
|
|||
void bch_test(int trials)
|
||||
{
|
||||
CODE::ShortBCHCodeEncoder<N, K> encode(POLY);
|
||||
CODE::ShortBCHCodeDecoder<N, K> decode(POLY, T);
|
||||
CODE::ShortBCHCodeDecoder<N, K, T> decode(POLY);
|
||||
std::random_device rd;
|
||||
typedef std::default_random_engine generator;
|
||||
typedef std::uniform_int_distribution<int> distribution;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue