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

« back to all changes in this revision

Viewing changes to raster/r.resamp.stats/main.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:
38
38
    {c_sum,    w_sum,    "sum",      "sum of values"},
39
39
    {c_var,    w_var,    "variance", "variance value"},
40
40
    {c_stddev, w_stddev, "stddev",   "standard deviation"},
41
 
    {NULL, NULL, NULL}
 
41
    {NULL, NULL, NULL, NULL}
42
42
};
43
43
 
44
44
static char *build_method_list(void)
141
141
            if (null && nulls)
142
142
                G_set_d_null_value(&outbuf[col], 1);
143
143
            else
144
 
                (*method_fn) (&outbuf[col], values, n);
 
144
                (*method_fn) (&outbuf[col], values, n, NULL);
145
145
        }
146
146
 
147
147
        G_set_window(&dst_w);
227
227
            if (null && nulls)
228
228
                G_set_d_null_value(&outbuf[col], 1);
229
229
            else
230
 
                (*method_fn) (&outbuf[col], values, n);
 
230
                (*method_fn) (&outbuf[col], values, n, NULL);
231
231
        }
232
232
 
233
233
        G_set_window(&dst_w);