Commit 986e4a38 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent ee9d003b
......@@ -91,6 +91,18 @@ type ΔValue struct {
New Value
}
// String is like default %v, but uses ø for VDEL.
func (δv ΔValue) String() string {
old, new := "ø", "ø"
if δv.Old != VDEL {
old = δv.Old.String()
}
if δv.New != VDEL {
new = δv.New.String()
}
return fmt.Sprintf("{%s %s}", old, new)
}
// δZConnectTracked computes connected closure of δZ/T.
//
......
......@@ -2036,18 +2036,6 @@ func (b *RBucket) String() string {
}
// String is like default %v, but uses ø for VDEL.
func (δv ΔValue) String() string {
old, new := DEL, DEL
if δv.Old != VDEL {
old = δv.Old.String()
}
if δv.New != VDEL {
new = δv.New.String()
}
return fmt.Sprintf("{%s %s}", old, new)
}
// ----------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment