mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 13:37:58 -05:00
Functionality to call high-level code from C++.
This commit is contained in:
@@ -12,7 +12,7 @@ int main(int argc, char** argv)
|
||||
if (argc > 1)
|
||||
lgp = atoi(argv[1]);
|
||||
if (argc > 2)
|
||||
cout << generate_prime(lgp, 1 << atoi(argv[2])) << endl;
|
||||
cout << generate_prime(lgp, 1 << abs(atoi(argv[2])), atoi(argv[2]) <= 0) << endl;
|
||||
else
|
||||
cout << SPDZ_Data_Setup_Primes(lgp) << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user