Skip to content

Commit 240bbf3

Browse files
committed
oops -- need to check isValue not isParser
1 parent 8560dd3 commit 240bbf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/PGmatrixmacros.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ =head2 convert_to_array_ref {
768768

769769
sub convert_to_array_ref {
770770
my $input = shift;
771-
if (Value::isParser($input) and Value::classMatch($input,"Matrix")) {
771+
if (Value::isValue($input) and Value::classMatch($input,"Matrix")) {
772772
$input = [$input->value];
773773
} elsif (ref($input) eq 'Matrix' ) {
774774
$input = $input->array_ref;

0 commit comments

Comments
 (0)