Skip to content

BDCSVD fix -Wmaybe-uninitialized

Reference issue

What does this implement/fix?

Fixes compiler warnings by constructing the small svd object with placement new. I would prefer to call the private function allocate(rows,cols), but this variant of the constructor essentially does the same thing JacobiSVD(Index rows, Index cols) { allocate(rows, cols); }.

Additional information

Merge request reports

Loading