Commit 85c96f5e authored by Mike Hibler's avatar Mike Hibler
Browse files

Handle undefined values (map them to default values)

parent a9bc92b5
...@@ -191,8 +191,12 @@ sub get_plabinfo($) ...@@ -191,8 +191,12 @@ sub get_plabinfo($)
# XXX This needs to be modified! # XXX This needs to be modified!
# #
($del,$plr,$bw) = @{$vals[0]}; ($del,$plr,$bw) = @{$vals[0]};
$del = $DEF_DEL
if (!defined($del));
$plr = $DEF_PLR
if (!defined($plr));
$bw = $DEF_BW $bw = $DEF_BW
if ($bw == 0); if ($bw == 0); # undef or zero--zero BW is not very useful
} }
print "elab-$srcix -> elab-$dstix: ". print "elab-$srcix -> elab-$dstix: ".
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment