Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
go-GoLLRB
GoLLRB-weekly-fixes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File GoLLRB-weekly-fixes.patch of Package go-GoLLRB
diff -ru a/llrb/llrb_test.go b/llrb/llrb_test.go --- a/llrb/llrb_test.go 2011-12-13 16:36:36.000000000 +0100 +++ b/llrb/llrb_test.go 2011-12-13 16:38:46.025576783 +0100 @@ -6,7 +6,7 @@ import ( "math" - "rand" + "math/rand" "testing" ) @@ -180,7 +180,7 @@ } avg, _ := tree.HeightStats() expAvg := math.Log2(float64(n)) - 1.5 - if math.Fabs(avg-expAvg) >= 2.0 { + if math.Abs(avg-expAvg) >= 2.0 { t.Errorf("too much deviation from expected average height") } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor