gt; *From:* Tomas Kalibera
> *Sent:* Friday, 18 December 2020 19:14
> *To:* Pierre Lafaye de Micheaux ; Ivan Krylov
>
> *Cc:* R Package Devel
> *Subject:* Re: [R-pkg-devel] [Re] warning: type of �zhpevx_� does not
> match original declaration [-Wlto-type-mismatch]
> On 12/18/2
.@gmail.com>;
Prof Brian Ripley <mailto:rip...@stats.ox.ac.uk>; R
Package Devel
<mailto:r-package-devel@r-project.org>
Subject: Re: [R-pkg-devel] [Re] warning: type of ‘zhpevx_’ does not match
original declaration [-Wlto-type-mismatch]
Dear Pierre L.,
I think that the zhpev
ns (but does not include the complex type).
Best,
Tomas
>
> Have a nice day.
>
> Kind regards,
> Pierre
>
> *From:* Ivan Krylov
> *Sent:* Friday, 18 December 2020 18:16
> *To:* Pierre Lafaye de Micheaux
Dear Pierre L.,
I think that the zhpevxC wrapper, as written, may result in undefined
behaviour:
>const char *JOBZ = jobz[0];
>delete[] JOBZ;
>delete[] Cap;
This could work okay, depending on how the rest of the package is
written, but in general, it is considered a bad idea for
To: Tomas Kalibera
Cc: Prof Brian Ripley ; R Package Devel
Subject: [R-pkg-devel] [Re] warning: type of ‘zhpevx_’ does not match original
declaration [-Wlto-type-mismatch]
Dear Tomas,
Thank you very much for your feedback. This was really helpful and helped me to
find a solution. Even
p;
delete[] Cz;
delete[] Cwork;
}
}
#endif
From: Tomas Kalibera
Sent: Tuesday, 15 December 2020 23:01
To: Pierre Lafaye de Micheaux
Cc: r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] warning: type of ‘zhpevx_’ does not match original
de