Commit 533bfc68bf

Vincent Rischmann <vincent@rischmann.fr>
2020-09-06 17:55:23
big int: fix Managed.dump()
1 parent eca20b5
Changed files (1)
lib
std
math
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.