Changes between Initial Version and Version 1 of Ticket #1785


Ignore:
Timestamp:
01/12/14 14:04:37 (11 years ago)
Author:
neteler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1785

    • Property Milestone 6.4.36.4.4
    • Property Version unspecifiedsvn-releasebranch64
  • Ticket #1785 – Description

    initial v1  
    33I've been looking trhough r.param.scale source code. The point is that I was wondering if there was an error in file
    44http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.param.scale/feature.c
     5
    56The last "else if... (line 103)" includes two simultaneous conditions that should (?) have opposite comparison operations (in addition, it never will take place because the root "if" has the same condition), i.e.
     7
    68"else if (minic < curve_tol && minic > -curve_tol) {"
     9
    710Then, final "return (FLAT) (line 108)"  will be useless (?).
    811