Commit 7ee0cda 1 parent 1d72b98 commit 7ee0cda Copy full SHA for 7ee0cda
File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ void RegularDpf_Puncture_Test(const oc::CLP& cmd)
245
245
));
246
246
247
247
248
+ bool failed = false ;
248
249
for (u64 i = 0 ; i < domain; ++i)
249
250
{
250
251
for (u64 k = 0 ; k < numPoints; ++k)
@@ -257,7 +258,7 @@ void RegularDpf_Puncture_Test(const oc::CLP& cmd)
257
258
throw RTE_LOC;
258
259
259
260
if (t == 1 && act == ZeroBlock)
260
- throw RTE_LOC ;
261
+ failed = true ;
261
262
if (t)
262
263
{
263
264
std::cout << act <<" " << output[0 ][k][i]<<" ^ " <<output[1 ][k][i] << std::endl;
@@ -267,6 +268,9 @@ void RegularDpf_Puncture_Test(const oc::CLP& cmd)
267
268
throw RTE_LOC;
268
269
}
269
270
}
271
+
272
+ if (failed)
273
+ throw RTE_LOC;
270
274
}
271
275
272
276
void RegularDpf_keyGen_Test (const oc::CLP& cmd)
You can’t perform that action at this time.
0 commit comments