mirror of
https://github.com/gonum/gonum.git
synced 2025-10-28 01:21:44 +08:00
Removed dead code
This commit is contained in:
10
unittype.go
10
unittype.go
@@ -207,15 +207,5 @@ func (u Unit) String() string {
|
|||||||
str += "^" + strconv.Itoa(s.pow)
|
str += "^" + strconv.Itoa(s.pow)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
for dimension, power := range u.dimensions {
|
|
||||||
if power != 0 {
|
|
||||||
str += " " + dimensionToSymbol[dimension]
|
|
||||||
if power != 1 {
|
|
||||||
str += "^" + strconv.Itoa(power)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
return str
|
return str
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user