Commit e3d1bda1 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

expr: operators return 0 for arithmetics on constants [Bug #5875]

parent 6df8e0ce
......@@ -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
......
......@@ -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]
......
......@@ -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);
}
......
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