summaryrefslogtreecommitdiff
path: root/libgo/go/go/types/hilbert_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/go/types/hilbert_test.go')
-rw-r--r--libgo/go/go/types/hilbert_test.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/libgo/go/go/types/hilbert_test.go b/libgo/go/go/types/hilbert_test.go
index bf2a15b26a..07d5a635e0 100644
--- a/libgo/go/go/types/hilbert_test.go
+++ b/libgo/go/go/types/hilbert_test.go
@@ -195,19 +195,6 @@ func (g *gen) printProduct(n int) {
g.p("}\n\n")
}
-func (g *gen) mulRange(a, b int) {
- if a > b {
- g.p("1")
- return
- }
- for i := a; i <= b; i++ {
- if i > a {
- g.p("*")
- }
- g.p("%d", i)
- }
-}
-
func (g *gen) binomials(n int) {
g.p(`// Binomials
const (