commit 5ed2f4235c0603c60513a17631def71a0e6c641e
parent 89900a93b626443d0d9c8c5e04160084db38b02a
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 15 Dec 2017 16:09:45 +0100
Fix a wrong check in the solmaps.c program
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solmaps.c b/solmaps.c
@@ -41,7 +41,7 @@ main(int argc, char** argv)
char* rcv_name = NULL;
FILE* output;
- CHK(azim > 0 && elev > 0);
+ CHK(azim >= 0 && elev >= 0);
CHK(header = strdup(line)); /* Duplicate the current line */
CHK(line = read_line(&buf, input));