Skip to content

Commit da86c7c

Browse files
committed
Fix error in cgtsv
1 parent b71ef36 commit da86c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Photonic/Utils.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ sub vectors2Dlist { #2D vector fields ready for gnuploting
350350

351351
sub cgtsv {
352352
confess "Wrong number of arguments" unless @_ == 4;
353-
my ($c, $d, $e, $b) = map $_->new_or_inplace($_), @_;
353+
my ($c, $d, $e, $b) = map $_->new_or_inplace, @_;
354354
my $i = PDL::LinearAlgebra::Complex::cgtsv($c, $d, $e, $b);
355355
confess "Error solving tridiag system: info=$i" if $i->any;
356356
$b;

0 commit comments

Comments
 (0)