Skip to content

Commit

Permalink
Update Mlucas.c
Browse files Browse the repository at this point in the history
Consistency with assert around line 4100
  • Loading branch information
xanthe-cat authored Apr 23, 2024
1 parent 047bda2 commit b90d8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mlucas.c
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ with the default #threads = 1 and affinity set to logical core 0, unless user ov
#ifdef USE_ARM_V8_SIMD
ASSERT(HERE, 0, "ARMv8 SIMD builds do not support Fermat-number testing!");
#endif
ASSERT(HERE,findex >= 13 && findex < 64, "Fermat number index must be in range [13,64]!\n");
ASSERT(HERE,findex >= 13 && findex < 64, "Fermat number index must be in range [13,63]!\n");
// This takes care of the number-to-char conversion and leading-whitespace-removal
// in one step - use PSTRING for temporary storage here:
strcpy(ESTRING, &PSTRING[convert_uint64_base10_char(PSTRING, (uint64)findex)]);
Expand Down

0 comments on commit b90d8b7

Please sign in to comment.