summaryrefslogtreecommitdiffstats
path: root/tksao/fitsy++/head.h
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/fitsy++/head.h')
-rw-r--r--tksao/fitsy++/head.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tksao/fitsy++/head.h b/tksao/fitsy++/head.h
index ad61a2a..f5dfdc1 100644
--- a/tksao/fitsy++/head.h
+++ b/tksao/fitsy++/head.h
@@ -59,7 +59,8 @@ public:
int headbytes() {return acard_*FTY_CARDLEN;}
const char* extname() {return hdu_ ? hdu_->extname() : NULL;}
- int extver() {return hdu_ ? hdu_->extver() : 0;}
+ int extver() {return hdu_ ? hdu_->extver() : 1;}
+ int extlevel() {return hdu_ ? hdu_->extlevel() : 1;}
int bitpix() {return hdu_ ? hdu_->bitpix() : 0;}
int naxes() {return hdu_ ? hdu_->naxes() : 0;}
int naxis(int ii) {return hdu_ ? hdu_->naxis(ii) : 0;}