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
mpim-sw
libcdi
Commits
e5cba6c9
Commit
e5cba6c9
authored
Dec 10, 2015
by
Uwe Schulzweida
Browse files
gridGenYvals: bug fix [Bug #6373]
parent
131b10d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
e5cba6c9
...
...
@@ -3,6 +3,10 @@
* Version 1.7.1 released
* using CGRIBEX library version 1.7.4
2015-12-10 Uwe Schulzweida
* gridGenYvals: bug fix [Bug #6373]
2015-11-25 Uwe Schulzweida
* cdfDefXaxis/cdfDefXaxis: generate bounds for CDI_cmor_mode
...
...
src/grid.c
View file @
e5cba6c9
...
...
@@ -423,7 +423,7 @@ void gridGenYvals(int gridtype, int ysize, double yfirst, double ylast, double y
{
double
*
restrict
ytmp
=
NULL
;
int
nstart
,
lfound
=
0
;
int
ny
=
(
int
)
(
180
.
/
fabs
(
ylast
-
yfirst
)
/
(
ysize
-
1
)
+
0
.
5
);
int
ny
=
(
int
)
(
180
.
/
(
fabs
(
ylast
-
yfirst
)
/
(
ysize
-
1
)
)
+
0
.
5
);
ny
-=
ny
%
2
;
if
(
ny
>
ysize
&&
ny
<
4096
)
{
...
...
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