Skip to content

Commit c72ca5e

Browse files
committed
Specify Double type
1 parent 4722b24 commit c72ca5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

QSharpMathUtils/src/Matrices/Constructors.qs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ namespace Matrices.Constructors {
99
import Matrices.Multiply.*;
1010
import Categories.Monoid.*;
1111

12-
function MonoidReduceMatrix(n : Int) : (Double[][][] -> Double[][]) {
12+
function MonoidReduceMatrixD(n : Int) : (Double[][][] -> Double[][]) {
1313
let mul : Int -> Int -> Int = x -> y -> x * y;
1414
let validate : Double[][] -> Double[][] = M -> Shape(M) == (n, n) ? M | fail $"Must be square array with height / width of {n}";
1515
MonoidReduceValidate(IdentityMatrix(n), MatMulD, validate)
1616
}
1717

18-
export MonoidReduceMatrix;
18+
export MonoidReduceMatrixD;
1919

2020
}

0 commit comments

Comments
 (0)