Opened 13 years ago
Closed 13 years ago
#3627 closed bug (fixed)
Raster calculator: -1 invalid expression
Reported by: | pcav | Owned by: | mhugent |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | Rasters | Version: | |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
Currently these expressions are invalid:
(diff@1)*-1 (diff@1)*(-1)
because there is no unary minus in the raster calc grammar yet (%left UMINUS fictitious symbol (for unary minus) ).
As a workaround, (diff@1)* (0-1) is ok
Note:
See TracTickets
for help on using tickets.
Added in r15526