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
cdo
Commits
e3d1bda1
Commit
e3d1bda1
authored
Jun 10, 2015
by
Uwe Schulzweida
Browse files
expr: operators return 0 for arithmetics on constants [Bug #5875]
parent
6df8e0ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
e3d1bda1
...
...
@@ -3,6 +3,10 @@
* using CDI library version 1.7.0
* Version 1.7.0 released
2015-06-10 Karl-Hermann Wieners
* expr: operators return 0 for arithmetics on constants [Bug #5875]
2015-06-03 Uwe Schulzweida
* removed flag CMP_CODE
...
...
NEWS
View file @
e3d1bda1
...
...
@@ -13,6 +13,7 @@ Version 1.7.0 (28 October 2015):
Changed operators:
* vertvar, vertstd: changed to weighted var/std if layer bounds are available
Fixed bugs:
* expr: operators return 0 for arithmetics on constants [Bug #5875]
* env. CDO_TIMESTAT_DATE does not work [Bug #5758]
* splityear*: support for constant fields is missing [Bug #5759]
* yseaspctl: check of verification date failed [Bug #5810]
...
...
src/expr.c
View file @
e3d1bda1
...
...
@@ -103,6 +103,8 @@ nodeType *expr_con_con(int oper, nodeType *p1, nodeType *p2)
default:
cdoAbort
(
"%s: operator %c unsupported!"
,
__func__
,
oper
);
break
;
}
p
->
u
.
con
.
value
=
cval1
;
return
(
p
);
}
...
...
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