Skip to content

Commit

Permalink
軽度な不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshin-des committed Nov 2, 2024
1 parent fba60a0 commit be9b7ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified libfact.so
Binary file not shown.
2 changes: 1 addition & 1 deletion src/lat_fact.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ extern "C" ll *lattice_factorization(const int bit_flag, const char* NN, const i
std::vector<std::vector<double>> mu;
std::vector<std::vector<ll>> L, close_vecs;
NTL::mat_ZZ LL;
std::cout << NN << std::endl;

if(bit_flag) GenSemiPrime(N);
//if(argc >= 4){n = atoi(argv[3]); if(argc >= 5) c = atof(argv[4]); }else
n = 2.2 * NTL::NumBits(N) / log(NTL::NumBits(N)) - 8;
Expand Down

0 comments on commit be9b7ab

Please sign in to comment.