Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove some maybe-uninitialized warnings (#5516)
* Remove some maybe-uninitialized warnings In the Eigen matrix type_caster, resize the matrix instead of assigning with a new one when the matrix size needs to be adjusted. This can remove lots of compiling warnings about "maybe-uninitialized". * Revert "Remove some maybe-uninitialized warnings" This reverts commit 7d5a9b4. * Suppress `-Wmaybe-uninitialized` warning Reproducer: #5516 (comment) --------- Co-authored-by: Ralf W. Grosse-Kunstleve <[email protected]>
- Loading branch information