mat: rename Cloner=>ClonerFrom and Clone=>CloneFrom

This commit is contained in:
Dan Kortschak
2019-06-05 07:48:01 +09:30
parent 14af50e936
commit c5f01565d8
15 changed files with 34 additions and 34 deletions

View File

@@ -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)