summaryrefslogtreecommitdiffstats
path: root/tksao/frame/frame.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-11-07 22:11:59 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-11-07 22:11:59 (GMT)
commit138d03e5624d405ad5cf4319ebab2210f8ce2672 (patch)
tree709f05846a6d807385b8439ca46e4f0d25901531 /tksao/frame/frame.C
parent31e0d69941f31e61e5c242cef79e0bd916fe4ace (diff)
downloadblt-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.C2
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: