Commit ddb17b84 authored by Morten Welinder's avatar Morten Welinder

D-funcs: missing file.

parent e11d44de
......@@ -1515,7 +1515,7 @@ criteria_inspect_values (GnmValue const *x, gnm_float *xr, gnm_float *yr,
case VALUE_FLOAT:
*yr = value_get_as_float (y);
if (VALUE_IS_BOOLEAN (x))
if (VALUE_IS_BOOLEAN (x) || VALUE_IS_ERROR (x))
return CRIT_WRONGTYPE;
else if (VALUE_IS_FLOAT (x)) {
*xr = value_get_as_float (x);
......
Markdown is supported
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