gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 08eac5e: Minor typo corrections in bin/mkprof/


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 08eac5e: Minor typo corrections in bin/mkprof/mkprof.c
Date: Wed, 29 Aug 2018 15:31:51 -0400 (EDT)

branch: master
commit 08eac5ea91f786b6e6e05e145e4812f76bc3a8ed
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Minor typo corrections in bin/mkprof/mkprof.c
    
    While reviewing the changes of the previous commit, I noticed two typos
    that are corrected with this commit.
---
 bin/mkprof/mkprof.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/mkprof/mkprof.c b/bin/mkprof/mkprof.c
index 0b53586..2dd18cb 100644
--- a/bin/mkprof/mkprof.c
+++ b/bin/mkprof/mkprof.c
@@ -128,9 +128,9 @@ saveindividual(struct mkonthread *mkp)
 
   double *crpix;
   long os=p->oversample;
-  size_t i, ndim=p->ndim, id=mkp->ibq->id;
   gal_fits_list_key_t *keys=NULL;
   struct builtqueue *ibq=mkp->ibq;
+  size_t i, ndim=p->ndim, id=mkp->ibq->id;
   char *filename, *jobname, *outdir=p->outdir;
 
 
@@ -192,7 +192,7 @@ saveindividual(struct mkonthread *mkp)
                         &p->q[id], 0, "Axis ratio of profile in catalog",
                         0, NULL);
   gal_fits_key_list_add(&keys, GAL_TYPE_FLOAT32, "MAGNITUDE", 0,
-                        &p->q[id], 0, "Magnitude of profile in catalog",
+                        &p->m[id], 0, "Magnitude of profile in catalog",
                         0, NULL);
   gal_fits_key_list_add(&keys, GAL_TYPE_FLOAT32, "TRUNCATION", 0,
                         &p->t[id], 0, "Truncation of profile in catalog",



reply via email to

[Prev in Thread] Current Thread [Next in Thread]