Skip to content

Commit

Permalink
mas
Browse files Browse the repository at this point in the history
  • Loading branch information
wjblanke committed Oct 12, 2024
1 parent 8e2e1c3 commit 9b74292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ set(CMAKE_MODULE_PATH

if(MSVC)
add_compile_options(/EHsc)
ENDIF()

if(WIN32)
set(MPIR_LIBRARY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../mpir_gc_x64")
Expand Down
1 change: 1 addition & 0 deletions src/proof_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ form FastPowFormNucomp(form x, integer &D, integer num_iterations, integer &L, P
// Do exponentiation by squaring from top bits of exponent to bottom
for (i = num_iterations.num_bits() - 2; i >= 0; i--) {
nudupl_form(res, res, D, L);
gmp_printf("a %Zd _mp_size %d max_size %d\n",res.a.impl,res.a.impl->_mp_size,max_size);
if (res.a.impl->_mp_size > max_size) {
// Reduce only when 'a' exceeds a half of the discriminant size
reducer.reduce(res);
Expand Down

0 comments on commit 9b74292

Please sign in to comment.