mirror of
https://github.com/gonum/gonum.git
synced 2025-10-01 13:32:12 +08:00
unit: clean up lint
This commit is contained in:
@@ -269,8 +269,6 @@ func (u *UnitStruct) Mul(aU UnitStructer) *UnitStruct {
|
|||||||
return u
|
return u
|
||||||
}
|
}
|
||||||
|
|
||||||
var u3 *UnitStruct
|
|
||||||
|
|
||||||
func BenchmarkAddStruct(b *testing.B) {
|
func BenchmarkAddStruct(b *testing.B) {
|
||||||
u1 := &UnitStruct{current: 1, chemamt: 5, value: 10}
|
u1 := &UnitStruct{current: 1, chemamt: 5, value: 10}
|
||||||
u2 := &UnitStruct{current: 1, chemamt: 5, value: 100}
|
u2 := &UnitStruct{current: 1, chemamt: 5, value: 100}
|
||||||
|
Reference in New Issue
Block a user