Opened 14 years ago

Closed 8 years ago

#1107 closed task (fixed)

r.terraflow: consistent type for D8CUT

Reported by: hamish Owned by: grass-dev@…
Priority: minor Milestone: 7.0.5
Component: Raster Version: svn-trunk
Keywords: r.terraflow Cc:
CPU: All Platform: All



moving this out of the noise of #1006 so we can close that one asap.


I notice the D8CUT variable can't seem to decide if it wants to be an integer, float, or double:

module output: D8CUT=999999986991104.000000
option.h:  float d8cut;           /* flow value where flow accu comp switches to D8 */  d8cut->type = TYPE_DOUBLE;    opt->d8cut = atoi(d8cut->answer);  sprintf(buf, "D8CUT=%f", opt->d8cut);
types.h:static const flowaccumulation_type MAX_ACCU = 1e+15;


Change History (2)

comment:1 by martinl, 8 years ago


comment:2 by martinl, 8 years ago

Resolution: fixed
Status: newclosed

Already fixed, closing.

Note: See TracTickets for help on using tickets.