Commit ec2f0c6f authored by Emmanuel Bertin's avatar Emmanuel Bertin
Browse files

Fixed issue with zero-sized columns in FITS binary tables,

Removed unused variables in poly.c.
Fixed issue with invalid comment in XSL stylesheet.
parent 8810cda9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
.TH SEXTRACTOR "1" "October 2010" "SExtractor 2.13.1" "User Commands"
.TH SEXTRACTOR "1" "November 2010" "SExtractor 2.13.1" "User Commands"
.SH NAME
.SH NAME
sex \- extract a source catalogue from an astronomical FITS image
sex \- extract a source catalogue from an astronomical FITS image
.SH SYNOPSIS
.SH SYNOPSIS
+5 −5
Original line number Original line Diff line number Diff line
@@ -23,7 +23,7 @@
*	along with AstrOmatic software.
*	along with AstrOmatic software.
*	If not, see <http://www.gnu.org/licenses/>.
*	If not, see <http://www.gnu.org/licenses/>.
*
*
*	Last modified:		09/10/2010
*	Last modified:		10/11/2010
*
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/


@@ -670,8 +670,8 @@ PURPOSE Return the size of a binary-table field from its ``TFORM''.
INPUT	TFORM string (see the FITS documentation).
INPUT	TFORM string (see the FITS documentation).
OUTPUT	size in bytes, or RETURN_ERROR if the TFORM is unknown.
OUTPUT	size in bytes, or RETURN_ERROR if the TFORM is unknown.
NOTES	-.
NOTES	-.
AUTHOR	E. Bertin (IAP & Leiden observatory)
AUTHOR	E. Bertin (IAP)
VERSION	28/10/2009
VERSION	10/11/2010
 ***/
 ***/
int	tsizeof(char *str)
int	tsizeof(char *str)


@@ -679,8 +679,8 @@ int tsizeof(char *str)
   int	n;
   int	n;
   char	*str2;
   char	*str2;


  str2 = str;
  n = strtol(str, &str2, 10);
  if (!(n = strtol(str, &str2, 10)))
  if (str2==str)
    n = 1;
    n = 1;


  switch ((int)*str2)
  switch ((int)*str2)
+2 −3
Original line number Original line Diff line number Diff line
@@ -23,7 +23,7 @@
*	along with AstrOmatic software.
*	along with AstrOmatic software.
*	If not, see <http://www.gnu.org/licenses/>.
*	If not, see <http://www.gnu.org/licenses/>.
*
*
*	Last modified:		10/10/2010
*	Last modified:		26/10/2010
*
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/


@@ -435,11 +435,10 @@ INPUT Pointer to the (pseudo 2D) matrix of coefficients,
OUTPUT  -.
OUTPUT  -.
NOTES   -.
NOTES   -.
AUTHOR  E. Bertin (IAP, Leiden observatory & ESO)
AUTHOR  E. Bertin (IAP, Leiden observatory & ESO)
VERSION 10/10/2010
VERSION 26/10/2010
 ***/
 ***/
void	poly_solve(double *a, double *b, int n)
void	poly_solve(double *a, double *b, int n)
  {
  {
   double	*vmat,*wmat;


#ifdef HAVE_ATLAS
#ifdef HAVE_ATLAS
  clapack_dposv(CblasRowMajor, CblasUpper, n, 1, a, n, b, n);
  clapack_dposv(CblasRowMajor, CblasUpper, n, 1, a, n, b, n);
+1 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@
#
#
#	This file part of:	SExtractor
#	This file part of:	SExtractor
#
#
#	Copyright:		(C) 2005-2010 Emmanuel Bertin -- IAP/CNRS/UPMC
#	Copyright:		(C) 2005-2010 Emmanuel Bertin - IAP/CNRS/UPMC
#
#
#	License:		GNU General Public License
#	License:		GNU General Public License
#
#