Commit 3672284d authored by Morten Welinder's avatar Morten Welinder

Compilation: fix problem with non-compile-time constant

parent 960cfd8b
2019-01-15 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (gnm_lambert_w): Avoid static for something that
formally isn't a compile-time constant. [#378]
2018-11-24 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
......
......@@ -4,6 +4,9 @@ Morten:
* Add DIGAMMA function.
* Support ISO-8601 UTC date/time input. Mostly. [#371]
Thomas Klausner:
* Fix compilation issue. [#378]
--------------------------------------------------------------------------
Gnumeric 1.12.44
......
......@@ -5034,7 +5034,7 @@ gnm_lambert_w (gnm_float x, int k)
{
gnm_float w;
static const gnm_float one_over_e = 1 / M_Egnum;
static const gnm_float sqrt_one_over_e = gnm_sqrt (1 / M_Egnum);
const gnm_float sqrt_one_over_e = gnm_sqrt (1 / M_Egnum);
static const gboolean debug = FALSE;
gnm_float wmin, wmax;
int i, imax = 20;
......
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