Skip to content

Commit e89e664

Browse files
committed
reenable basic tests in testbench_mongomery_pow_2kary.cpp
1 parent 6e58ea3 commit e89e664

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

montgomery_arithmetic/include/hurchalla/montgomery_arithmetic/detail/experimental/montgomery_pow_2kary/testbench_montgomery_pow_2kary.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ bench_range(U min, U range, U& totalU, unsigned int max_modulus_bits_reduce, ST
886886
{
887887
HPBC_CLOCKWORK_PRECONDITION2(max_modulus_bits_reduce <
888888
hurchalla::ut_numeric_limits<decltype(MontType::max_modulus())>::digits);
889-
#if 0
889+
#if 1
890890
// run very short tests to hopefully catch a bugged experimental impl
891891
int tcp_result = test_correctness_pow<TABLE_BITS,
892892
USE_SLIDING_WINDOW_OPTIMIZATION,
@@ -1417,7 +1417,7 @@ using namespace hurchalla;
14171417
std::cout << "\nbegin benchmarks - scalar pow\n";
14181418

14191419
// warm up call before benchmarking
1420-
// bench_range<2, false, 6, MontType, false>(static_cast<U>(maxU - range), range, dummy, max_modulus_bits_reduce, seed, exponent_bits_reduce);
1420+
bench_range<2, false, 6, MontType, false>(static_cast<U>(maxU - range), range, dummy, max_modulus_bits_reduce, seed, exponent_bits_reduce);
14211421

14221422
// format is bench_range<TABLE_BITS, USE_SLIDING_WINDOW_OPTIMIZATION, CODE_SECTION, MontType, USE_SQUARING_VALUE_OPTIMIZATION>
14231423

0 commit comments

Comments
 (0)