fixed reshape

parent fd518777
......@@ -191,7 +191,7 @@ public:
vector<Matrix<T>> reshapeColumns(int height, int width) const {
vector<Matrix<T>> result;
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;
}
......
Markdown is supported
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