Skip to content

Commit daee326

Browse files
committed
fixup
1 parent cf4bbfa commit daee326

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

source/mir/bignum/integer.d

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,10 @@ struct BigInt(uint maxSize64)
510510

511511
pragma(inline, false);
512512

513-
if (divisor.length == 0 || divisor.coefficients[$ - 1] == 0)
514-
assert(0, "Zero or denormalized BigInt divizor");
513+
if (divisor.length == 0)
514+
assert(0, "Zero BigInt divizor");
515+
if (divisor.coefficients[$ - 1] == 0)
516+
assert(0, "Denormalized BigInt divizor");
515517

516518
if (this.length < divisor.length)
517519
{

0 commit comments

Comments
 (0)