You can also solve the problem by moving to a proper
header/definition setup and allowing conditional inclusion
of the definitions based on package.
Technically, inline allows multiple definitions across
translation units (if they are all the same).
Apparently, this can mean zero definitions in practice,
assuming the code isn't actually used anywhere. There just
has to be a definition available at the point of each use.
See:
https://akrzemi1.wordpress.com/2014/07/14/inline-functions/
http://stackoverflow.com/questions/4193639/inline-function-linkage
- Bob
> On Jun 15, 2016, at 2:20 PM, Daniel Lee <
bea...@alum.mit.edu> wrote:
>
> Yes. But I'm lost. It's what Sebastian suggested -- by setting a whole bunch of functions in the new ode stuff inline, it works.
>
>
> Daniel
>
> On Wed, Jun 15, 2016 at 1:45 PM, Bob Carpenter <
ca...@alias-i.com> wrote:
> You got my mail on that, right? You just need to make
> sure there's a way to include without an instantiated call
> to CVODES.