Date:2013-11-07 08:55:57 (11 months 15 days ago)
Author:Werner Almesberger
Commit:ff5b4a1ae8e88a94c54343e7c079f9df4b0d4b41
Message:cameo/zstack.pl: use the entire number for (x, y, z0)

Files: cameo/zstack.pl (1 diff)

Change Details

cameo/zstack.pl
5454        $z{$z} .= "$s\n";
5555        undef $s;
5656    }
57    if (/^-?\d+(\.\d*)?\s+-?\d+(\.\d*)?\s+(-?\d+(\.\d*)?)/) {
57    if (/^(-?\d+(\.\d*)?)\s+(-?\d+(\.\d*)?)\s+(-?\d+(\.\d*)?)/) {
5858        $x = $1 unless defined $x;
59        $y = $2 unless defined $y;
60        $z = $3;
59        $y = $3 unless defined $y;
60        $z = $5;
6161    }
6262    $s .= $_;
6363    $zmax = $z if $z > $zmax || !defined $zmax;

Archive Download the corresponding diff file

Branches:
master



interactive