Skip to content

Commit 1f9eb82

Browse files
committed
fix setting mgeigenx outputs when schur requested
1 parent 793fd8f commit 1f9eb82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/PDL/LinearAlgebra.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2798,7 +2798,7 @@ sub PDL::mgeigenx {
27982798
} elsif ($info) {
27992799
laerror("mgeigenx: Error from hgeqz or tgevc");
28002800
}
2801-
$result{qw(aschur bschur)} = map $_->t, $a, $b if $opt{schur};
2801+
@result{qw(aschur bschur)} = map $_->t, $a, $b if $opt{schur};
28022802
$result{balance} = cat $ilo, $ihi if $opt{permute};
28032803
@result{qw(info anorm bnorm)} = ($info, $abnrm, $bbnrm);
28042804
@result{qw(lscale rscale)} = ($lscale, $rscale) if $opt{scale};

0 commit comments

Comments
 (0)