bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] NativeFunction eval_AXB has become broken


From: Juergen Sauermann
Subject: Re: [Bug-apl] NativeFunction eval_AXB has become broken
Date: Mon, 14 Apr 2014 12:24:58 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi,

yes. this can happen when the installed shared libs are compiled with
a different version of GNU APL and in the meantime virtual functions
have beed added or removed.

'make install' usually fixes this.

I was already thinking of some versioning between the shared libs and
the interpreter. I have put that on my TODO list.

/// Jürgen


On 04/14/2014 09:16 AM, Elias Mårtenson wrote:
False alarm.

I'm replying to myself, because after a full recompile of everything it seems to work. I'm thinking that something wasn't recompiled properly after updating to the latest version.

Regards,
Elias


On 14 April 2014 12:23, Elias Mårtenson <address@hidden> wrote:
In my implementation of eval_AXB I am getting the function number using the following code:

const int function_number = X->get_ravel(0).get_near_int(qct);

When X is either 0 or 1, this works correctly. But when X is any other value (for example, 2) the call to .get_near_int(qct) throws a DOMAIN_ERROR.

This didn't happen as late as two days ago, so there has been a change in the last few releases that caused this to happen.

Regards,
Elias



reply via email to

[Prev in Thread] Current Thread [Next in Thread]