Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
msc
sextractor
Commits
66380127
Commit
66380127
authored
Jun 18, 2013
by
Emmanuel Bertin
Browse files
Fixed uninitialized 2nd BACK_VALUE in double image + BACK_TYPE MANUAL modes.
parent
cee8ce88
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/prefs.c
View file @
66380127
...
...
@@ -7,7 +7,7 @@
*
* This file part of: SExtractor
*
* Copyright: (C) 1993-201
2
Emmanuel Bertin -- IAP/CNRS/UPMC
* Copyright: (C) 1993-201
3
Emmanuel Bertin -- IAP/CNRS/UPMC
*
* License: GNU General Public License
*
...
...
@@ -22,7 +22,7 @@
* You should have received a copy of the GNU General Public License
* along with SExtractor. If not, see <http://www.gnu.org/licenses/>.
*
* Last modified: 1
1
/0
7
/2012
* Last modified: 1
8
/0
6
/2012
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
...
...
@@ -591,12 +591,15 @@ void useprefs()
prefs
.
somfit_flag
=
FLAG
(
obj2
.
flux_somfit
);
/*------------------------------ Background --------------------------------*/
if
(
prefs
.
nback_type
<
2
)
prefs
.
back_type
[
1
]
=
prefs
.
back_type
[
0
];
if
(
prefs
.
nback_val
<
2
)
prefs
.
back_val
[
1
]
=
prefs
.
back_val
[
0
];
if
(
prefs
.
nbacksize
<
2
)
prefs
.
backsize
[
1
]
=
prefs
.
backsize
[
0
];
if
(
prefs
.
nbackfsize
<
2
)
prefs
.
backfsize
[
1
]
=
prefs
.
backfsize
[
0
];
if
(
prefs
.
nback_type
<
2
)
prefs
.
back_type
[
1
]
=
prefs
.
back_type
[
0
];
/*------------------------------ FLAG-images -------------------------------*/
prefs
.
nimaisoflag
=
(
prefs
.
imaflag_size
>
prefs
.
imanflag_size
)
?
...
...
src/profit.c
View file @
66380127
...
...
@@ -22,7 +22,7 @@
* You should have received a copy of the GNU General Public License
* along with SExtractor. If not, see <http://www.gnu.org/licenses/>.
*
* Last modified: 0
5
/0
4
/2013
* Last modified:
1
0/0
6
/2013
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
...
...
@@ -168,7 +168,7 @@ OUTPUT Pointer to an allocated fit structure (containing details about the
fit).
NOTES It is a modified version of the lm_minimize() of lmfit.
AUTHOR E. Bertin (IAP)
VERSION 0
5
/0
4
/2013
VERSION
1
0/0
6
/2013
***/
void
profit_fit
(
profitstruct
*
profit
,
picstruct
*
field
,
picstruct
*
wfield
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment