mirror of
https://github.com/gonum/gonum.git
synced 2025-10-30 02:02:09 +08:00
native,cgo: replace string literal in Dlasrt with string const
This commit is contained in:
@@ -20,7 +20,7 @@ func (impl Implementation) Dlasrt(s lapack.Sort, n int, d []float64) {
|
||||
d = d[:n]
|
||||
switch s {
|
||||
default:
|
||||
panic("lapack: bad sort")
|
||||
panic(badSort)
|
||||
case lapack.SortIncreasing:
|
||||
sort.Float64s(d)
|
||||
case lapack.SortDecreasing:
|
||||
|
||||
Reference in New Issue
Block a user