Commit bd4530b3 authored by Andreas J. Guelzow 's avatar Andreas J. Guelzow

Fix weighted and Spencer moving averages crashes. [#645722]

2011-03-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* analysis-tools.c (analysis_tool_moving_average_engine_run): load
	fd_index for all situations when will need it.
parent dfe8d261
......@@ -14,6 +14,7 @@ Andreas:
* Fix import of dbf files with more than 65536 rows. [#644189]
* Export workbook-scoped named expressions and ranges to ODF.
* Improve reading of named expressions from ODF files.
* Fix weighted and Spencer moving averages crashes. [#645722]
Jean:
* Fix cursor position inside a cell edited in a zoomed sheet. [#641709]
......
2011-03-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* analysis-tools.c (analysis_tool_moving_average_engine_run): load
fd_index for all situations when will need it.
2011-02-26 Morten Welinder <terra@gnome.org>
* gnm-solver.c (gnm_solver_constraint_valid): Fix typo. (Part of
......
......@@ -3704,7 +3704,8 @@ analysis_tool_moving_average_engine_run (data_analysis_output_t *dao,
SheetObject *so = NULL;
GogPlot *plot = NULL;
if (info->base.labels) {
if (info->base.labels || info->ma_type == moving_average_type_wma
|| info->ma_type== moving_average_type_spencer_ma) {
fd_index = gnm_func_lookup_or_add_placeholder ("INDEX", dao->sheet ? dao->sheet->workbook : NULL, FALSE);
gnm_func_ref (fd_index);
}
......
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