~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to raster/r.watershed/seg/do_cum.c

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
        first_cum = point.nxt;
164
164
        r = point.r;
165
165
        c = point.c;
 
166
        bseg_put(&worked, &one, r, c);
166
167
        cseg_get(&asp, &asp_val, r, c);
167
168
        if (asp_val) {
168
169
            dr = r + asp_r[ABS(asp_val)];
377
378
                if (er_flag && !is_swale)
378
379
                    slope_length(r, c, r_max, c_max);
379
380
            }
380
 
            bseg_put(&worked, &one, r, c);
381
381
        }
382
382
    }
383
383
    G_percent(count, do_points, 1);     /* finish it */