gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 9219b72: Corrected variable name in NoiseChise


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 9219b72: Corrected variable name in NoiseChisel's args.h
Date: Mon, 5 Sep 2016 13:56:21 +0000 (UTC)

branch: master
commit 9219b726fc4248d7746a372746120170fb1071d8
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Corrected variable name in NoiseChisel's args.h
    
    When reading the `--noerodequant' variable in NoiseChisel, the value was
    mistakenly put in `p->qthresh' instead of `p->noerodequant'. This has been
    corrected.
---
 src/noisechisel/args.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/noisechisel/args.h b/src/noisechisel/args.h
index c016078..0f90944 100644
--- a/src/noisechisel/args.h
+++ b/src/noisechisel/args.h
@@ -690,8 +690,8 @@ parse_opt(int key, char *arg, struct argp_state *state)
       p->up.erodengbset=1;
       break;
     case 503:
-      gal_checkset_float_l_0_s_1(arg, &p->qthresh, "noerodequant", key,
-                                 SPACK, NULL, 0);
+      gal_checkset_float_l_0_s_1(arg, &p->noerodequant, "noerodequant",
+                                 key, SPACK, NULL, 0);
       p->up.noerodequantset=1;
       break;
     case 'p':



reply via email to

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