Skip to content

Commit 1633a9b

Browse files
committed
Defaults of Gerbicz check.
1 parent d3c140d commit 1633a9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Llr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8575,7 +8575,7 @@ int fastIsPRP (
85758575

85768576
/* Do the PRP test */
85778577

8578-
if (IniGetInt(INI_FILE, "Gerbicz", 0) || PROOFMODE[0])
8578+
if (IniGetInt(INI_FILE, "Gerbicz", smallbase == 2 ? 1 : 0) || PROOFMODE[0])
85798579
retval = multipointPRP(gb, n, c, gwdata, gdata, a, res, str);
85808580
else
85818581
retval = commonPRP(gwdata, gdata, a, res, str);
@@ -13053,7 +13053,7 @@ int isProthP(
1305313053

1305413054
title("Proth prime test in progress...");
1305513055

13056-
echkGerbicz = IniGetInt(INI_FILE, "Gerbicz", 0);
13056+
echkGerbicz = IniGetInt(INI_FILE, "Gerbicz", 1);
1305713057
if (PROOFMODE[0])
1305813058
echkGerbicz = 1;
1305913059

0 commit comments

Comments
 (0)