Fixed bug on the histogram calculation.
authorRicardo Zanmar <rzanmar@gmail.com>
Mon, 27 Jun 2011 14:37:24 +0000 (16:37 +0200)
committerRicardo Zanmar <rzanmar@gmail.com>
Mon, 27 Jun 2011 14:37:24 +0000 (16:37 +0200)
commitb9b24b1dd9abdf9801f186f1136739858539f779
treed83a7bf57dfb33a9215a1b010797ccce2121ea8b
parent3bc8a4f7cb300baae082ae5400ff1e8ac133c410
Fixed bug on the histogram calculation.

I was forgetting to add datamin to the datamin and datamax values drawn
from the histogram. This was evident on images with a very small range
of values (bias images).
loader_fits.c