aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-04-08 17:10:56 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-04-08 17:10:56 +0200
commitf62b0712c209ed86377415d83a6dd62bbade2d2d (patch)
treee9fb772aee30ddfd678a1d4925f0424b6b6e05e9
parenta3a8f67b718768867bf579c79bc2ce30a0bde45b (diff)
cleanup
-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()