@@ -149,8 +149,6 @@ my $index_init =
149149pp_def('index',
150150 GenericTypes => [ppdefs_all],
151151 HandleBad => 1,
152- DefaultFlow => 1,
153- TwoWay => 1,
154152 Pars => 'a(n); indx ind(); [oca] c();',
155153 Code =>
156154 $index_init . ' $c() = $a(n => this_ind);',
@@ -164,8 +162,6 @@ pp_def('index',
164162pp_def('index1d',
165163 GenericTypes => [ppdefs_all],
166164 HandleBad => 1,
167- DefaultFlow => 1,
168- TwoWay => 1,
169165 Pars => 'a(n); indx ind(m); [oca] c(m);',
170166 Code => pp_line_numbers(__LINE__, <<'EOF'),
171167 loop(m) %{
212208pp_def('index2d',
213209 GenericTypes => [ppdefs_all],
214210 HandleBad => 1,
215- DefaultFlow => 1,
216- TwoWay => 1,
217211 Pars => 'a(na,nb); indx inda(); indx indb(); [oca] c();',
218212 Code =>
219213 $index2d_init . pp_line_numbers(__LINE__-1, ' $c() = $a(na => this_ind_a, nb => this_ind_b);'),
@@ -578,7 +572,6 @@ parameters. C<rangeb> is marginally faster as it makes a direct PP call,
578572avoiding the perl argument-parsing step.
579573EOD
580574 HandleBad => 1,
581- TwoWay => 1,
582575 P2Child => 1,
583576
584577# rdim: dimensionality of each range (0 dim of index PDL)
@@ -1405,7 +1398,6 @@ EOF
14051398 $EQUIVCPOFFS(i,i);
14061399 }
14071400EOF
1408- TwoWay => 1,
14091401 Doc => 'internal',
14101402);
14111403
@@ -1816,8 +1808,6 @@ pp_def('rotate',
18161808 GenericTypes => [ppdefs_all],
18171809 Doc => 'Shift vector elements along with wrap.',
18181810 Pars=>'x(n); indx shift(); [oca]y(n)',
1819- DefaultFlow => 1,
1820- TwoWay => 1,
18211811 RedoDimsCode=>'if ($SIZE(n) == 0) $CROAK("can not shift zero size ndarray");',
18221812 Code=>$rotate_code.'
18231813 $y(n=>j++) = $x();
0 commit comments