Skip to content

Commit ab26fe8

Browse files
committed
fixup
1 parent 24b95f5 commit ab26fe8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/mir/bignum/integer.d

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ struct BigInt(uint maxSize64)
5050
else
5151
static if (data.length == 2)
5252
{
53+
sign = false;
5354
this.data[0] = data[0];
5455
this.data[1] = data[1];
5556
this.length = data[1] ? 2 : data[0] != 0;
@@ -267,7 +268,7 @@ struct BigInt(uint maxSize64)
267268
///
268269
BigIntView!size_t view()() scope return @property
269270
{
270-
return typeof(return)(this.data[0 .. this.length], this.sign);
271+
return typeof(return)(this.data[0 .. this.length], this.sign);
271272
}
272273

273274
///

0 commit comments

Comments
 (0)