diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-11-07 22:11:59 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-11-07 22:11:59 (GMT) |
commit | 138d03e5624d405ad5cf4319ebab2210f8ce2672 (patch) | |
tree | 709f05846a6d807385b8439ca46e4f0d25901531 /tksao/frame/frame.C | |
parent | 31e0d69941f31e61e5c242cef79e0bd916fe4ace (diff) | |
download | blt-138d03e5624d405ad5cf4319ebab2210f8ce2672.zip blt-138d03e5624d405ad5cf4319ebab2210f8ce2672.tar.gz blt-138d03e5624d405ad5cf4319ebab2210f8ce2672.tar.bz2 |
add mask range
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: |