Bug report #11278
Power in raster calculator returns no data values where it should be 0 to 1
|Affected QGIS version:||2.4.0||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19576|
The following operation with in QGIS 2.4 Raster calculator:
10 ^ (("[email protected]" * 0.0000581)-2)
returns no data values where it should return floating point values between 0 and 1. However, results above 1 are correct. Parsing the operation, only the power section returned wrong numbers.
This operation used to work OK with the same raster layer in plugin Raster Calc, and still works OK in the SAGA raster calculator of the processing toolbox.
I had actually noticed the same behavior in previous versions of QGIS.