|
@@ -6,6 +6,7 @@
|
|
|
#include "duoram.hpp"
|
|
|
#include "cdpf.hpp"
|
|
|
#include "cell.hpp"
|
|
|
+#include "heap.hpp"
|
|
|
|
|
|
|
|
|
static void online_test(MPCIO &mpcio,
|
|
@@ -1247,11 +1248,10 @@ void online_main(MPCIO &mpcio, const PRACOptions &opts, char **args)
|
|
|
} else if (!strcmp(*args, "cell")) {
|
|
|
++args;
|
|
|
cell(mpcio, opts, args);
|
|
|
- } else {
|
|
|
- std::cerr << "Unknown mode " << *args << "\n";
|
|
|
- } else if (!strcmp(*args, "heap")) {
|
|
|
+ }
|
|
|
+ else if (!strcmp(*args, "heap")) {
|
|
|
++args;
|
|
|
- heap(mpcio, opts, args);
|
|
|
+ Heap(mpcio, opts, args);
|
|
|
} else {
|
|
|
std::cerr << "Unknown mode " << *args << "\n";
|
|
|
}
|