Skip to content

Commit

Permalink
Fixed PSF map RA axis labelling bug (thanks to J.-B. Marquette).
Browse files Browse the repository at this point in the history
Pushed version number to 3.21.1.
  • Loading branch information
ebertin committed Dec 6, 2018
1 parent 39b6197 commit 3ce9c19
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# You should have received a copy of the GNU General Public License
# along with PSFEx. If not, see <http://www.gnu.org/licenses/>.
#
# Last modified: 09/05/2018
# Last modified: 06/12/2018
#
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Expand All @@ -31,7 +31,7 @@ define([AC_CACHE_LOAD],)
define([AC_CACHE_SAVE],)

# This is your standard AstrOmatic source code...
AC_INIT(PSFEx, 3.21.0, [[email protected]],
AC_INIT(PSFEx, 3.21.1, [[email protected]],
psfex, [http://astromatic.net/software/psfex])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR(autoconf)
Expand Down
6 changes: 3 additions & 3 deletions doc/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
# built documents.
#
# The short X.Y version.
version = '3.21.0'
version = '3.21.1'
# The full version, including alpha/beta/rc tags.
release = '3.21.0'
release = '3.21.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand All @@ -76,7 +76,7 @@

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
today = 'Mon Dec 03 2018'
today = 'Thu Dec 06 2018'
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

Expand Down
12 changes: 7 additions & 5 deletions src/cplot.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* This file part of: PSFEx
*
* Copyright: (C) 2008-2016 IAP/CNRS/UPMC
* Copyright: (C) 2008-2018 IAP/CNRS/SorbonneU
*
* License: GNU General Public License
*
Expand All @@ -22,7 +22,7 @@
* You should have received a copy of the GNU General Public License
* along with PSFEx. If not, see <http://www.gnu.org/licenses/>.
*
* Last modified: 19/10/2016
* Last modified: 06/12/2018
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/

Expand Down Expand Up @@ -407,7 +407,7 @@ INPUT Pointer to the WCS projection structure,
OUTPUT RETURN_OK if everything went fine, RETURN_ERROR otherwise.
NOTES .
AUTHOR E. Bertin (IAP)
VERSION 26/02/2015
VERSION 06/12/2018
***/
int cplot_drawloccoordgrid(wcsstruct *wcs, double xmin, double xmax,
double ymin, double ymax)
Expand Down Expand Up @@ -548,15 +548,17 @@ int cplot_drawloccoordgrid(wcsstruct *wcs, double xmin, double xmax,
&& (xm = (xd-xmin)/dx) > 0.0 && xm < 1.0
&& fabs(xm-xmd) > 0.1)
{
plmtex("b", 2.0, (PLFLT)xm, 0.5, cplot_degtosexde(str,wcspos[0],
plmtex("b", 2.0, (PLFLT)xm, 0.5,
cplot_degtosexde(str,fmod_m90_p90(wcspos[0]),
alphastep));
xmd = xm;
}
if ((yd-ymax)*(ydo-ymax) < 0.0
&& (xm = (xd-xmin)/dx) > 0.0 && xm < 1.0
&& fabs(xm-xmu) > 0.1)
{
plmtex("t", 1.5, (PLFLT)xm, 0.5, cplot_degtosexde(str,wcspos[0],
plmtex("t", 1.5, (PLFLT)xm, 0.5,
cplot_degtosexde(str,fmod_m90_p90(wcspos[0]),
alphastep));
xmu = xm;
}
Expand Down

0 comments on commit 3ce9c19

Please sign in to comment.