Brian Ward
Brian Ward
### Current Behavior: See [this forum thread](https://discourse.mc-stan.org/t/improving-the-efficiency-of-dot-product-for-trinary-and-redundant-matrices/29940/10?u=wardbrian) by @mike-lawrence which contains an example that is ~5x _slower_ at `--O1` compared to the default. ### Expected Behavior: SoA optimization should not...
The zero-size objects created by function inlining are not properly treated by the data code generation. For now this has lead us to disable the function inliner only for this...
These have sort of grown over time to use some odd patterns. TODO list: - [ ] `Debugging.ml` is used for printing things like the typed_ast, but not the MIRs...
It would be useful to add a write up to the stanc3 developer documentation on the use of `print_s`, s-expressions, and other debugging utilities we use while working on the...
If the partial evaluator replaces one function call with another, it checks that the new function is well-typed for it's arguments. This only seems to be there as a sanity...
Consider two stan programs: prog1: ```stan transformed parameters { target += 1; } ``` prog2: ```stan functions { void foo_lp(real x){ target += x; } } transformed parameters { foo_lp(1);...
Hi! I regularly deal with CSV files that have "comments" in them, lines which (in my case) start with `#` and do not contain either a header or a comma...
Originally reported downstream: https://github.com/flatironinstitute/pytorch-finufft/issues/103 The following will segfault with either a `Fatal Python error: aborted` or `Fatal Python error: PyThreadState_Get: the function must be called with the GIL held, but...
This came up in a discussion with @gil2rok during #39, but applies to all of our algorithms. The user provided log_density_gradient function may throw an exception (we may even _expect_...