mirror of
https://github.com/gonum/gonum.git
synced 2025-10-05 07:06:54 +08:00
mat: rename Cloner=>ClonerFrom and Clone=>CloneFrom
This commit is contained in:
@@ -217,7 +217,7 @@ func testSimplex(t *testing.T, initialBasic []int, c []float64, a mat.Matrix, b
|
||||
// subject to -A^T * nu <= c
|
||||
|
||||
negAT := &mat.Dense{}
|
||||
negAT.Clone(a.T())
|
||||
negAT.CloneFrom(a.T())
|
||||
negAT.Scale(-1, negAT)
|
||||
cNew, aNew, bNew := Convert(b, negAT, c, nil, nil)
|
||||
|
||||
|
Reference in New Issue
Block a user