Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed matrix multiplication for NxM matrices #30

  • Loading branch information...
commit d9d66ba9d31bf715dbfd419841cb392159c4467a 1 parent 718f264
@Dav1dde authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gl3n/linalg.d
View
2  gl3n/linalg.d
@@ -1753,7 +1753,7 @@ struct Matrix(type, int rows_, int cols_) if((rows_ > 0) && (cols_ > 0)) {
Matrix!(mt, rows, T.cols) ret;
foreach(r; TupleRange!(0, rows)) {
- foreach(c; TupleRange!(0, cols)) {
+ foreach(c; TupleRange!(0, T.cols)) {
ret.matrix[r][c] = 0;
foreach(c2; TupleRange!(0, cols)) {
Please sign in to comment.
Something went wrong with that request. Please try again.