Fixed a bug when P<N. Added a test case to fix it.

12 jobs for fix-gsvd in 3 minutes and 10 seconds (queued for 8 seconds)
Status Job ID Name Coverage
  Build
passed #40782
conda-linux
build_linux_27

00:02:10

passed #40784
conda-linux
build_linux_34

00:02:10

passed #40786
conda-linux
build_linux_35

00:02:09

passed #40787
conda-macosx
build_macosx_27

00:02:30

passed #40785
conda-macosx
build_macosx_34

00:02:28

passed #40783
conda-macosx
build_macosx_35

00:02:29

 
  Test
passed #40792
conda-linux
test_linux_27

00:00:28

99.0%
passed #40790
conda-linux
test_linux_34

00:00:30

99.0%
passed #40788
conda-linux
test_linux_35

00:00:28

99.0%
passed #40789
conda-macosx
test_macosx_27

00:00:34

99.0%
passed #40791
conda-macosx
test_macosx_34

00:00:32

99.0%
passed #40793
conda-macosx
test_macosx_35

00:00:32

99.0%