I fixed the one remaining memory leak (log_softmax) and added
a brittle test. You can verify by unplugging
the leak (i.e., removing the agrad::vari qualification
on operator new) and seeing the test fail.
The new tests with the counter are also not very robust
because they'll fail if the internals of the function change
in the way that they use variables or auxiliary memory.
If you want to use the counter for testing and then back it
out again right away, could you do it?
You're right that we might mess up develop somehow and still want
to get a hotfix out. Bottom line is that I'm OK
with just a hotfix release for 2.1.1 next.
My only ongoing concern is that I don't want to spam our users with
releases. We need to balance that with fixing major problems like
leaks in softmax ASAP.
Luckily, this latest change shouldn't require anything of PyStan or
RStan other than rebuilding.
There are still a couple of issues tagged for 2.1.1, as well as some
doc updates, so I don't think we're quite there yet. But they're all
just bug fixes, not new features.
- Bob
On 1/16/14, 10:04 PM, Daniel Lee wrote:
> stan-dev+unsubscribe@__
googlegroups.com <mailto:
stan-dev%2Bunsu...@googlegroups.com>.
> For more options, visit
https://groups.google.com/__groups/opt_out <
https://groups.google.com/groups/opt_out>.
>
>
> --
> You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
stan-dev+u...@googlegroups.com.