Przeglądaj źródła

To prevent logtp search from aborting

sshsshy 2 lat temu
rodzic
commit
15938d866a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pir.cpp

+ 1 - 1
pir.cpp

@@ -150,7 +150,7 @@ uint64_t coefficients_per_element(uint32_t logtp, uint64_t ele_size) {
 uint64_t elements_per_ptxt(uint32_t logt, uint64_t N, uint64_t ele_size) {
     uint64_t coeff_per_ele = coefficients_per_element(logt, ele_size);
     uint64_t ele_per_ptxt = N / coeff_per_ele;
-    assert(ele_per_ptxt > 0);
+    //assert(ele_per_ptxt > 0);
     return ele_per_ptxt;
 }