diff --git a/test/float.cpp b/test/float.cpp index ef8acd9..83fe734 100644 --- a/test/float.cpp +++ b/test/float.cpp @@ -41,9 +41,9 @@ bool accurate(double a, double b, double err) { else return false; } -PRG prg; template void test_float(double precision, int runs = 1000) { + PRG prg; for(int i = 0; i < runs; ++i) { int ia = 0, ib = 0; prg.random_data(&ia, 4); diff --git a/test/mitccrh.cpp b/test/mitccrh.cpp index 74e7208..504dec8 100644 --- a/test/mitccrh.cpp +++ b/test/mitccrh.cpp @@ -4,7 +4,7 @@ using namespace std; using namespace emp; -void print_keys(AES_KEY key) { +void print_keys(AES_KEY& key) { cout << "round keys\n"; for(int i = 0; i < 11; i++) { cout << key.rd_key[i]<