Opened 14 years ago
Closed 8 years ago
#1107 closed task (fixed)
r.terraflow: consistent type for D8CUT
| Reported by: | hamish | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 7.0.5 |
| Component: | Raster | Version: | svn-trunk |
| Keywords: | r.terraflow | Cc: | |
| CPU: | All | Platform: | All |
Description
Hi,
moving this out of the noise of #1006 so we can close that one asap.
from https://trac.osgeo.org/grass/ticket/1006#comment:5
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 */ main.cc: d8cut->type = TYPE_DOUBLE; main.cc: opt->d8cut = atoi(d8cut->answer); main.cc: sprintf(buf, "D8CUT=%f", opt->d8cut); types.h:static const flowaccumulation_type MAX_ACCU = 1e+15;
Hamish
Change History (2)
comment:1 by , 8 years ago
| Milestone: | 7.0.0 → 7.0.5 |
|---|
comment:2 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Already fixed, closing.