@@ -1878,7 +1878,7 @@ void avl_tests(MPCIO &mpcio,
run_coroutines(tio, [&tio, depth, items] (yield_t &yield) {
size_t size = size_t(1)<<depth;
bool player0 = tio.player()==0;
- AVL tree(tio.player(), size, true);
+ AVL tree(tio.player(), size);
// (T1) : Test 1 : L rotation (root modified)
/*
@@ -182,7 +182,7 @@ class AVL {
value_t node, value_t min_key, value_t max_key);
public:
- AVL(int num_players, size_t size, bool opt_flag) :
+ AVL(int num_players, size_t size, bool opt_flag = true) :
oram(num_players, size), OPTIMIZED(opt_flag) {
this->MAX_SIZE = size;
MAX_DEPTH = 0;