That makes sense --- I can make it a new issue and not
hold up what you have so far.

- Bob

On 11/6/13, 3:51 PM, Michael Betancourt wrote:
> In src/stan/gm/command.hpp:
>
>>      template<class Sampler>
>>      bool init_adapt(stan::mcmc::base_mcmc* sampler, categorical_argument* adapt) {
>> -
>> +
>>        double delta = dynamic_cast<real_argument*>(adapt->arg("delta"))->value();
>
> Okay -- just make it a new issue if you could.
> … <#>
> On Nov 6, 2013, at 8:46 PM, Bob Carpenter <notifications@github.com> wrote: In src/stan/gm/command.hpp: > template<class
> Sampler> > bool init_adapt(stan::mcmc::base_mcmc* sampler, categorical_argument* adapt) { > - > + > double delta =
> dynamic_cast<real_argument*>(adapt->arg("delta"))->value(); It's the implication that we're going to do run-time type
> checking, which I'd prefer to avoid. I'm just a static type-checking nut, hence all the type declarations in Stan. Let
> me get some time to look at the code when we get the Novartis models under control (we just fit some fake data in pretty
> much the full model and it seems to be working). Maybe I can figure out how to get rid of the casts. - Bob … — Reply to
> this email directly or view it on GitHub.
>
> —
> Reply to this email directly or view it on GitHub <https://github.com/stan-dev/stan/pull/356/files#r7477723>.
>