|
From: | Julien Bect |
Subject: | Re: GSL in octave |
Date: | Wed, 27 Jul 2016 11:28:31 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0 |
Le 26/07/2016 à 08:48, Susi Lehtola a écrit :
On 07/25/2016 11:21 PM, Julien Bect wrote:Now that the problem has been located, a few thoughts: * I think both functions must be provided if possible (legendre_sphPlm_array is deprecated, but still available). * This issue will be more elegantly dealt with while integrating your patch named "Add in a bunch of array functions". I see that you have introduced templates for _array functions, why not deal with legendre_sphPlm_array / legendre_array in a similar way ?I guess legendre_sphPlm_array could be handled using the array templates. IIRC deprecated functions like legendre_sphPlm_array aren't available in the GSL library unless it has been compiled with the necessary flags.. which is why I needed to write a patch in Fedora that I imported very first thing.Handling legendre_array by templates isn't as straightforward, because the API uses function specific enum's, so one would need to make up new templates for that function.
Hi Susi,I have fixed the problem (without using any additional template, for the time being).
legendre_sphPlm_array and legendre_array are now defined in gsl_sf.cc.header (-> gsl_sf.cc), and each one of them has its own PKG_ADD directive.
I have notices that there are no unit tests for these two functions, could you please provide some?
@++ Julien
[Prev in Thread] | Current Thread | [Next in Thread] |