[gsll-devel] GSL2 switch bug?

Liam Healy lhealy at common-lisp.net
Wed Aug 23 01:02:24 UTC 2017


I have been on v2 for a while now and have not encountered problems.

Liam

On Mon, Aug 21, 2017 at 1:45 AM, Name Name <byaakaa at gmail.com> wrote:
> Hi,
>
> I guess that you have not encountered a problem because you have GSL v.1.
> This happens on v.2.
>
> Thanks for your reply.
> Gaya
>
> On Aug 20, 2017 5:28 AM, "Liam Healy" <lhealy at common-lisp.net> wrote:
>>
>> Thanks for the report. You are right that the interface is wrong, but
>> oddly I have not encountered a problem. I'm not sure what the second
>> argument should be and unfortunately I haven't had the time to dig into it.
>> I will push a fix when I've figured it out.
>>
>>
>> Liam
>>
>> On Wed, Aug 9, 2017 at 11:51 AM, Name Name <byaakaa at gmail.com> wrote:
>>>
>>> Hi there,
>>>
>>> I'm trying to compile the latest version of GSLL (last commit on master
>>> branch dd2e7673) and have a compilation error saying that function
>>> "jacobian" is called with one argument whereas it wants exactly two. It
>>> happens on the following line:
>>>
>>>
>>> https://gitlab.common-lisp.net/antik/gsll/blob/master/solve-minimize-fit/nonlinear-least-squares.lisp#L262
>>>
>>> and the compiler has the right to complain as with my GSL2 version the
>>> signature of the function indeed wants two arguments:
>>>
>>>
>>> https://gitlab.common-lisp.net/antik/gsll/blob/master/solve-minimize-fit/nonlinear-least-squares.lisp#L150
>>>
>>> This seems like an easy to fix bug but I have no idea about the internals
>>> of this library.
>>> Could somebody help out?
>>> For now I just exchanged the call (on line L262) of
>>>
>>> "(jacobian solver)"
>>>
>>> to
>>>
>>> "(jacobian solver cov)"
>>>
>>> to have some matrix in there but I don't think that this is the right
>>> solution.
>>>
>>> Thanks in advance!
>>> Gaya
>>>
>>
>>
>



More information about the gsll-devel mailing list