TheHortonMachine / hortonmachine

The Horton Machine
http://thehortonmachine.github.io/hortonmachine/
GNU General Public License v3.0
43 stars 25 forks source link

Fixed usage of passed default value to all bands of writableraster #1

Closed mcfoi closed 10 years ago

mcfoi commented 10 years ago

The proposed fix will use the user-provided default value to initialize all bands of a multi-banded writeable raster. Previous code correctly initialised just first band while fell back on using 0.0 as the default for any other eventual band so delivering an inconsistently initialised multi-band raster.