We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2faebf4 commit cb946f3Copy full SHA for cb946f3
1 file changed
benchmarks/macro/matrix_mul.prox
@@ -1,6 +1,5 @@
1
2
func create_matrix(rows, cols) {
3
- print("Creating matrix " + to_string(rows) + "x" + to_string(cols));
4
let m = [];
5
for (let i = 0; i < rows; i = i + 1) {
6
let row = [];
@@ -9,7 +8,6 @@ func create_matrix(rows, cols) {
9
8
}
10
list_push(m, row);
11
12
- print("Matrix created with " + to_string(len(m)) + " rows");
13
return m;
14
15
@@ -53,13 +51,7 @@ func main() {
53
51
let elapsed = clock() - start;
54
52
55
print("Time: " + to_string(elapsed));
56
- if (c == null) {
57
- print("C is null");
58
- } else {
59
- print("Rows: " + to_string(len(c)));
60
- if (len(c) > 0) print("Cols: " + to_string(len(c[0])));
61
- print("C[0][0]: " + to_string(c[0][0]));
62
- }
+ print("C[0][0]: " + to_string(c[0][0]));
63
64
65
main();
0 commit comments