SourceForge has been redesigned. Learn more.
Close

Diff of /plplot.pd [34c787] .. [c4e320]  Maximize  Restore

Switch to unified view

a/plplot.pd b/plplot.pd
...
...
2511
         Code => 'c_plline($SIZE(n),$P(x),$P(y));',
2511
         Code => 'c_plline($SIZE(n),$P(x),$P(y));',
2512
         BadCode => 'int i;
2512
         BadCode => 'int i;
2513
                     int j;
2513
                     int j;
2514
                     for (i=1;i<$SIZE(n);i++) {
2514
                     for (i=1;i<$SIZE(n);i++) {
2515
                       j = i-1; /* PP does not like using i-1 in a PDL ref.  Use j instead. */
2515
                       j = i-1; /* PP does not like using i-1 in a PDL ref.  Use j instead. */
2516
                       if ($ISGOOD(x(n=>i)) && $ISGOOD(x(n=>j))) {
2516
                       if ($ISGOOD(x(n=>i)) && $ISGOOD(x(n=>j)) && $ISGOOD(y(n=>i)) && $ISGOOD(y(n=>j))) {
2517
                         c_pljoin ($x(n=>j), $y(n=>j), $x(n=>i), $y(n=>i));
2517
                         c_pljoin ($x(n=>j), $y(n=>j), $x(n=>i), $y(n=>i));
2518
                       }
2518
                       }
2519
                     }',
2519
                     }',
2520
         Doc => $doc,
2520
         Doc => $doc,
2521
        );
2521
        );