Not sure if this was by design, this happens in the data file loading part of the tpl. Seems that the code should check if multinomial here:
if(inp_nscaler(k) > 0)
{
for(i = 1; i <= n_A_nobs(k); i++ )
{
tmp(i) = tmp(i)/sum(tmp(i)) * inp_nscaler(k);
}
}
Not sure if this was by design, this happens in the data file loading part of the tpl. Seems that the code should check if multinomial here: