mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add missing transpose in cleanup loop. Without it, we trip an assertion in debug mode.
This commit is contained in:
@@ -292,7 +292,7 @@ void BlockedInPlaceTranspose(MatrixType& m) {
|
||||
}
|
||||
}
|
||||
for (Index row = row_start; row < m.rows(); ++row) {
|
||||
m.matrix().row(row).swap(m.matrix().col(row));
|
||||
m.matrix().row(row).swap(m.matrix().col(row).transpose());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user