iqbal: Remove a Doxygen warning

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2013-03-03 09:15:07 +01:00
parent dcf64e6a30
commit e97293f89b
1 changed files with 1 additions and 2 deletions

View File

@ -197,8 +197,7 @@ _iqbal_objfn_value(struct _iqbal_state *state, float x[2])
static void
_iqbal_objfn_gradient(struct _iqbal_state *state, float x[2], float v, float grad[2])
{
#define GRAD_STEP 0.001f
const float GRAD_STEP = 0.001f;
float xd[2], vd[2];
xd[0] = x[0] + GRAD_STEP; xd[1] = x[1];