Commit 095d85bd authored by Jean Bréfort's avatar Jean Bréfort

Use go_nan instead of infinite for strings that can't be evaluated to numbers in graphs.

parent 7f842bd3
2015-02-11 Jean Brefort <jean.brefort@normalesup.org>
* src/graph.c (cb_assign_val): use go_nan instead of infinite for strings
that can't be convered to valid numbers.
2015-02-10 Morten Welinder <terra@gnome.org>
* src/gnm-so-line.c (gnm_so_line_draw_cairo): Simplify.
......
......@@ -648,7 +648,7 @@ cb_assign_val (GnmCellIter const *iter, struct assign_closure *dat)
v = format_match_number (value_peek_string (v), NULL,
dat->date_conv);
if (v == NULL) {
dat->vals[dat->i++] = gnm_pinf;
dat->vals[dat->i++] = go_nan;
return NULL;
}
res = value_get_as_float (v);
......
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