Commit 64d84471 authored by Jean Bréfort's avatar Jean Bréfort
Browse files

Always set the GO_DATA_HAS_VALUE flag when needed. [#595]

parent 29a296c6
2021-09-25 Jean Brefort <jean.brefort@normalesup.org>
* src/graph.c (gnm_go_data_vector_load_values): make sure that the
GO_DATA_HAS_VALUE flag is always set when needed. Fixes #595.
2021-09-18 Jean Brefort <jean.brefort@normalesup.org>
* src/graph.c (gnm_go_data_vector_get_value): fix error bars when data
......
......@@ -2,6 +2,7 @@ Gnumeric 1.12.51
Jean:
* Fix error bars when data are in a multi-column array. [#594]
* Always set the GO_DATA_HAS_VALUE flag when needed. [#595]
Morten:
* Fix --with-long-double configuration.
......
......@@ -848,6 +848,9 @@ gnm_go_data_vector_load_values (GODataVector *dat)
dat->minimum = minimum;
dat->maximum = maximum;
dat->base.flags |= GO_DATA_CACHE_IS_VALID;
if (go_finite (minimum) && go_finite (maximum) && minimum <= maximum)
dat->base.flags |= GO_DATA_HAS_VALUE;
}
static double
......
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