Commit 1d1c9331 authored by Emmanuel Bertin's avatar Emmanuel Bertin
Browse files

Allowed SEEING_FWHM to be 0 if no PSF is available and CLASS_STAR is not in the parameter list.

parent 0a368a81
......@@ -9,7 +9,7 @@
*
* Contents: Functions to handle the configuration file.
*
* Last modify: 08/03/2010
* Last modify: 22/09/2010
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/
......@@ -600,7 +600,7 @@ void useprefs()
prefs.prof_flag = 1;
/*--------------------------- Adaptive class-star ---------------------------*/
if (prefs.seeing_fwhm == 0)
if (prefs.seeing_fwhm == 0 && FLAG(obj2.sprob))
prefs.psf_flag = 1;
/*-------------------------- Pattern-fitting -------------------------------*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment