summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2019-03-04 02:07:53 +0100
committerDirk Engling <erdgeist@erdgeist.org>2019-03-04 02:07:53 +0100
commit2eff180815619302f101a4ff32db6cf293b529c8 (patch)
tree77606dbd045a4c5236fe899927e10f7cf0e8e9e7 /src
parent5ac7e2e4229dab3124ad9d1556ea714a3149fff0 (diff)
unify column cleansing
Diffstat (limited to 'src')
-rw-r--r--src/export/convert_coords.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/export/convert_coords.c b/src/export/convert_coords.c
index abbbc22..64d7cbe 100644
--- a/src/export/convert_coords.c
+++ b/src/export/convert_coords.c
@@ -31,8 +31,10 @@ int main( )
31 31
32 double lon = l0+th/n; 32 double lon = l0+th/n;
33 double lat = 2.0*atan(pow(F/r,1.0/n))-0.5*M_PI; 33 double lat = 2.0*atan(pow(F/r,1.0/n))-0.5*M_PI;
34 34 if (x > 0 && y > 0)
35 printf("%lf\t%lf\n", lat*180.0/M_PI, lon*180.0/M_PI); 35 printf("%lf\t%lf\n", lat*180.0/M_PI, lon*180.0/M_PI);
36 else
37 printf("\t\n");
36 } else 38 } else
37 printf("\t\n"); 39 printf("\t\n");
38 } 40 }