I think I've fixed up the backticks.  It's still a bit confusing to a new
contributor like me.


On 12 May 2014 17:43, Denis Laxalde <notifications@github.com> wrote:

> In scipy/optimize/_differentialevolution.py:
>
> > +                                         seed=seed, polish=polish,
> > +                                         callback=callback,
> > +                                         disp=disp)
> > +
> > +    result = solver.solve()
> > +    return result
> > +
> > +
> > +class DifferentialEvolutionSolver(object):
> > +
> > +    """
> > +    Parameters
> > +    ----------
> > +    func : callable
> > +        The objective function to be minimized.  Must be in the form
> > +        `f(x, *args)`, where `x` is the argument in the form of a 1-D array
>
> Andrew Nelson a écrit :
>  Just to confirm, I should be following:
> https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt? I
> don't know what was wrong with the snippet: "Must be in the form `f(x,
> *args)`, where `x` is the argument in the form of a 1-D array" should it
> have been: "Must be in the form ``f(x, *args)``, where `x` is the argument
> in the form of a 1-D array"?
> Yes with double backticks around x as well (because x is not referenced
> elsewhere). See @rkern <https://github.com/rkern> explanation above, it's
> pretty clear IMO.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/scipy/scipy/pull/3446/files#r12516488>
> .
>



-- 
_____________________________________
Dr. Andrew Nelson


_____________________________________