mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
fix
This commit is contained in:
committed by
Christoffer Lerno
parent
e34d56327a
commit
38110b0269
@@ -53,7 +53,7 @@ fn BigInt* BigInt.init_with_u128(&self, uint128 value)
|
||||
len++;
|
||||
}
|
||||
assert(!self.is_negative());
|
||||
self.len = max(len ?: 1);
|
||||
self.len = max(len, 1);
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user