Commit 2b2ddc82 authored by Arturo Espinosa's avatar Arturo Espinosa
Browse files

Fix typos

parent 4a1b760f
......@@ -347,7 +347,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return NULL;
}
c = value_gets_as_double (count->v);
c = value_get_as_double (count);
if (c == 0.0){
*error_string = "Division by zero";
......@@ -355,7 +355,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return NULL;
}
result = value_float (value_get_as_double (sum->v) / c);
result = value_float (value_get_as_double (sum) / c);
value_release (count);
value_release (sum);
......
......@@ -347,7 +347,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return NULL;
}
c = value_gets_as_double (count->v);
c = value_get_as_double (count);
if (c == 0.0){
*error_string = "Division by zero";
......@@ -355,7 +355,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return NULL;
}
result = value_float (value_get_as_double (sum->v) / c);
result = value_float (value_get_as_double (sum) / c);
value_release (count);
value_release (sum);
......
......@@ -347,7 +347,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return NULL;
}
c = value_gets_as_double (count->v);
c = value_get_as_double (count);
if (c == 0.0){
*error_string = "Division by zero";
......@@ -355,7 +355,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return NULL;
}
result = value_float (value_get_as_double (sum->v) / c);
result = value_float (value_get_as_double (sum) / c);
value_release (count);
value_release (sum);
......
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