Skip to content

Commit

Permalink
clearer error on dim mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Aug 14, 2024
1 parent f36361b commit d7a428c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PDL/Graphics/Gnuplot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3704,7 +3704,7 @@ sub matchDims
$data_dims[$i] = $ddims[$i];
}
elsif( ( $ddims[$i]>1) && ($ddims[$i] != $data_dims[$i] )) {
barf "plot(): mismatched arguments in tuple (position $i)\n";
barf "plot(): mismatched arguments in tuple; dims of data item $i=(@ddims), but data_dims=(@data_dims)";
}
}
}
Expand Down

0 comments on commit d7a428c

Please sign in to comment.