summaryrefslogtreecommitdiffstats
path: root/tksao/fitsy++/hdu.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/fitsy++/hdu.C')
-rw-r--r--tksao/fitsy++/hdu.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/tksao/fitsy++/hdu.C b/tksao/fitsy++/hdu.C
index a3e2153..bff1735 100644
--- a/tksao/fitsy++/hdu.C
+++ b/tksao/fitsy++/hdu.C
@@ -28,7 +28,8 @@ FitsHDU::FitsHDU(FitsHead* head)
}
}
- extver_ = head->getInteger("EXTVER", 0);
+ extver_ = head->getInteger("EXTVER", 1);
+ extlevel_ = head->getInteger("EXTLEVEL", 1);
bitpix_ = head->getInteger("BITPIX", 0);
naxes_ = head->getInteger("NAXIS", 0);