diff options
Diffstat (limited to 'tksao/frame/frame.C')
-rw-r--r-- | tksao/frame/frame.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tksao/frame/frame.C b/tksao/frame/frame.C index 7713df4..bb99824 100644 --- a/tksao/frame/frame.C +++ b/tksao/frame/frame.C @@ -256,7 +256,7 @@ unsigned char* Frame::fillMask(FitsMask* msk, int width, int height, if (xx>=params->xmin && xx<params->xmax && yy>=params->ymin && yy<params->ymax) { - double value = sptr->getValueDouble(long(yy)*srcw + long(xx)); + float value = sptr->getValueFloat(long(yy)*srcw + long(xx)); switch (mark) { case FitsMask::ZERO: |