if (intermediate_p)
{
start = intermediate_start[i] * 4;
- end = intermediate_start[i] * 4;
+ end = intermediate_end[i] * 4;
}
/* Ignore tuples that can be skipped. */
coords = alloca (gvar->axis_count * sizeof *coords * 3);
intermediate_start = coords + gvar->axis_count;
- intermediate_end = coords + gvar->axis_count;
+ intermediate_end = intermediate_start + gvar->axis_count;
/* Allocate arrays of booleans and fwords to keep track of which
points have been touched. */
coords = alloca (gvar->axis_count * sizeof *coords * 3);
intermediate_start = coords + gvar->axis_count;
- intermediate_end = coords + gvar->axis_count;
+ intermediate_end = intermediate_start + gvar->axis_count;
while (ntuples--)
{