aboutsummaryrefslogtreecommitdiff
path: root/ops.go
diff options
context:
space:
mode:
Diffstat (limited to 'ops.go')
-rw-r--r--ops.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ops.go b/ops.go
index a6c533f..59fbcac 100644
--- a/ops.go
+++ b/ops.go
@@ -30,7 +30,7 @@ func (n Element) next() Element {
if nxt := n.Next(); nxt != nil {
return Element{nxt}
}
- log.Fatal("out of range", n.Value)
+ log.Fatal("out of range ", n)
return Element{}
}
@@ -77,7 +77,7 @@ func sub(m, n Element) Element {
// scan lookups n-th element representation
func scan(n int) Element {
if n > alphabet.Len() {
- log.Fatal("out of range")
+ log.Fatal("out of range ", n)
return Element{}
}
e := alphabet.Front()