Verified Commit b061ce16 authored by Tim Gymnich's avatar Tim Gymnich
Browse files

fixed reshape

parent fd518777
...@@ -191,7 +191,7 @@ public: ...@@ -191,7 +191,7 @@ public:
vector<Matrix<T>> reshapeColumns(int height, int width) const { vector<Matrix<T>> reshapeColumns(int height, int width) const {
vector<Matrix<T>> result; vector<Matrix<T>> result;
for (int c = 0; c < getWidth(); c++) { for (int c = 0; c < getWidth(); c++) {
result.push_back(Matrix(column(c), height, width)); result.push_back(Matrix(column(c), height, width).transpose());
} }
return result; return result;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment