Re: [Pdl-devel] PDL 2.057_04 released

2021-10-13 Thread Ed .
I should add: it is a known problem that older versions of clang/LLVM (at least 10.0.1 and 12.0.0, though not 12.0.5) crash when compiling the latest PDL. If this happens for you, please upgrade your clang/LLVM. Best regards, Ed From: Ed . Sent: 12 October 2021 18:04 T

[Pdl-devel] PDL > 2.019 breaks PDL::Fit::Levmar

2021-10-13 Thread Shawn Laffan
It's good to see all the recent activity and cleanups to PDL. It seems, though, that one or more of these changes have broken PDL::Fit::Levmar (or perhaps the assumptions of PDL::Fit::Levmar were somewhat brittle). One could use PDL::Fit::LM, but PDL::Fit::Levmar is a bit more convenient as it do

Re: [Pdl-devel] PDL > 2.019 breaks PDL::Fit::Levmar

2021-10-13 Thread Ed .
Hi Shawn, P:F:Levmar both instructs the Makefile to compile its “pdlperlfunc.c” (so it duplicates various generated bits of the .xs including declaring a “PDL” entity), but then #includes it into the generated .xs. Because as you say things have changed a bit, the “PDL” entity (a struct core) i

Re: [Pdl-devel] PDL > 2.019 breaks PDL::Fit::Levmar

2021-10-13 Thread Shawn Laffan
Thanks Ed. Just downloaded and built your fork, and confirm it is back to only failing chkjac.t. Hopefully that is not hard to diagnose and solve. Regards, Shawn. On Thu, 14 Oct 2021 at 06:15, Ed . wrote: > Hi Shawn, > > > > P:F:Levmar both instructs the Makefile to compile its “pdlperlfunc

Re: [Pdl-devel] PDL > 2.019 breaks PDL::Fit::Levmar

2021-10-13 Thread Ed .
Glad to hear it! You could help: it’s coming back with a difference, only with double, between using the “gauss” and “jacgauss” in err2, and in the $Gf in err1. $Gf seems to specify “FLOAT”, which I now suspect should say “DOUBLE”? (I don’t know the levmar library, please guide me). Best regar

Re: [Pdl-devel] PDL > 2.019 breaks PDL::Fit::Levmar

2021-10-13 Thread Shawn Laffan
Will have a look. It could also be something in PDL that no longer meets with P::F::Levmar's assumptions. Shawn. On Thu, 14 Oct 2021 at 08:22, Ed . wrote: > Glad to hear it! > > > > You could help: it’s coming back with a difference, only with double, > between using the “gauss” and “jacgauss

Re: [Pdl-devel] PDL > 2.019 breaks PDL::Fit::Levmar

2021-10-13 Thread Ed .
See https://github.com/jlapeyre/PDL-Fit-Levmar/pull/6 for the fix. Not a PDL error. Best regards, Ed From: Shawn Laffan Sent: 13 October 2021 23:01 To: Ed . Cc: pdl-devel@lists.sourceforge.net Subject

Re: [Pdl-devel] PDL > 2.019 breaks PDL::Fit::Levmar

2021-10-13 Thread Shawn Laffan
That fix works for me. Thanks for tracking it down. Shawn. On Thu, 14 Oct 2021 at 14:32, Ed . wrote: > See https://github.com/jlapeyre/PDL-Fit-Levmar/pull/6 for the fix. Not a > PDL error. > > > > Best regards, > > Ed > > > > *From: *Shawn Laffan > *Sent: *13 October 2021 23:01 > *To: *Ed .