Commit f0b6f46e authored by Jan Mercl's avatar Jan Mercl

Fix 32b systems constant overflow V.

parent 1a0ec0ba
...@@ -117,7 +117,7 @@ func (t *Tree) dump() string { ...@@ -117,7 +117,7 @@ func (t *Tree) dump() string {
} }
func rng() *mathutil.FC32 { func rng() *mathutil.FC32 {
x, err := mathutil.NewFC32(math.MinInt32, math.MaxInt32, false) x, err := mathutil.NewFC32(math.MinInt32/4, math.MaxInt32/4, false)
if err != nil { if err != nil {
panic(err) panic(err)
} }
......
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