summaryrefslogtreecommitdiff
path: root/wcsutil/hstwcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'wcsutil/hstwcs.py')
-rw-r--r--wcsutil/hstwcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsutil/hstwcs.py b/wcsutil/hstwcs.py
index e543550..8f3a96f 100644
--- a/wcsutil/hstwcs.py
+++ b/wcsutil/hstwcs.py
@@ -268,7 +268,7 @@ class HSTWCS(WCS):
"""
h = self.to_header()
if self.wcs.has_cd():
- h = pc2cd(h)
+ h = altwcs.pc2cd(h)
if sip2hdr:
hwcs = h.ascardlist()