mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-24 02:29:33 +08:00
Add missing transpose in cleanup loop. Without it, we trip an assertion in debug mode.
This commit is contained in:
parent
fbe7916c55
commit
1e41406c36
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user