Skip to content

Commit

Permalink
Fixed example
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-mcdaniel committed Sep 7, 2024
1 parent 8faccaf commit f699f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/frontend/matrix.sg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ impl Matrix<T, Rows, Cols> {
add: fun(T, T) -> T,
mul: fun(T, T) -> T
): Matrix<T, Rows, NewCols> {
let mut result = Matrix.new<T, Rows, NewCols>(0);
let mut result = Matrix.new<T, Rows, NewCols>(zero);
for let mut j=0; j<NewCols; j+=1; {
for let mut i=0; i<Rows; i+=1; {
let mut sum = zero;
Expand Down

0 comments on commit f699f27

Please sign in to comment.