Index: trunk/psastro/src/psastroUtils.c
===================================================================
--- trunk/psastro/src/psastroUtils.c	(revision 41536)
+++ trunk/psastro/src/psastroUtils.c	(revision 41895)
@@ -215,5 +215,5 @@
 psPlaneTransform *psPlaneTransformCopy (psPlaneTransform *input) {
 
-    psPlaneTransform *output = psPlaneTransformAlloc (input->x->nX, input->x->nY);
+    psPlaneTransform *output = psPlaneTransformAlloc (input->x->nX, input->x->nY, input->x->type);
 
     for (int i = 0; i < input->x->nX; i++) {
