Fix use of removed function
This commit is contained in:
parent
762a41c32b
commit
2318ee7660
|
@ -33,7 +33,7 @@ Matrix' n = Array [n,n]
|
||||||
export
|
export
|
||||||
matrix : {default B rep : Rep} -> RepConstraint rep a => {m, n : _} ->
|
matrix : {default B rep : Rep} -> RepConstraint rep a => {m, n : _} ->
|
||||||
Vect m (Vect n a) -> Matrix m n a
|
Vect m (Vect n a) -> Matrix m n a
|
||||||
matrix x = array' {rep} [m,n] x
|
matrix x = array {rep, s=[m,n]} x
|
||||||
|
|
||||||
|
|
||||||
||| Construct a matrix with a specific value along the diagonal.
|
||| Construct a matrix with a specific value along the diagonal.
|
||||||
|
|
Loading…
Reference in a new issue