From 533bfc68bf8b4ad7ffbe5814a622f200dc345b69 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Sun, 6 Sep 2020 17:55:23 +0200 Subject: [PATCH] big int: fix Managed.dump() --- lib/std/math/big/int.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/math/big/int.zig b/lib/std/math/big/int.zig index 963fc21f3b..19f6d0809e 100644 --- a/lib/std/math/big/int.zig +++ b/lib/std/math/big/int.zig @@ -1449,7 +1449,7 @@ pub const Managed = struct { for (self.limbs[0..self.len()]) |limb| { std.debug.warn("{x} ", .{limb}); } - std.debug.warn("capacity={} positive={}\n", .{ self.limbs.len, self.positive }); + std.debug.warn("capacity={} positive={}\n", .{ self.limbs.len, self.isPositive() }); } /// Negate the sign.