stanc3 icon indicating copy to clipboard operation
stanc3 copied to clipboard

The Stan transpiler (from Stan to C++ and beyond).

Results 112 stanc3 issues
Sort by recently updated
recently updated
newest added

I've recently been compiling a bunch of Stan models with `-Wall` and noticed this will often lead to a lot of unused variable warnings. We've handled most of the ones...

cpp-codegen

I know for a fact that this requires a few changes in `stan-dev/stan`'s json data handler to recognize unicode names, which is just one of several reasons this is a...

### Current Behavior: Enabling compiler optimizations currently stops emitting a default assignment for a variable if it is immediately assigned to (https://github.com/stan-dev/stanc3/pull/1029). However, this changes the behavior of those very...

bug
robustness
cpp-codegen
optimization

#### Summary: It is a parser error to declare and define a one-dimensional integer array using the colon operator. #### Description: It is a parser error to declare and define...

feature

# Introduction Some languages now support Unicode (mostly UTF8) for writing source code. It would be great if one could also use Unicode in Stan source. (Note that _comments_ in...

feature
parsing

#### Summary: Right now it is a matter of specifying appropriate compile time defines like `-DSTAN_THREADS` in order to switch threading support on. We should consider changing `stanc` to have...

#### Summary: `1./a` is parsed as `1.0/a` instead of `1 ./ a` (where are a is a `vector`). This confused me a bit. -------------------------- To avoid this ambiguity I would...

feature

#### Submission Checklist - [x] Run unit tests - Documentation - [ ] If a user-facing facing change was made, the documentation PR is here: - [x] OR, no user-facing...

These functions are in `stan-math` from from the PRs https://github.com/stan-dev/math/pull/2792 and https://github.com/stan-dev/math/pull/2797. Let's expose them. There is demand on the forums https://discourse.mc-stan.org/t/gaussian-hypergeometric-function-for-exact-distribution-of-a-correlation/30606/3 https://discourse.mc-stan.org/t/hypergeometric-functions/252 https://discourse.mc-stan.org/t/confluent-hypergeometric-functions-to-estimate-population-size-and-detection-probability-from-spatially-replicated-counts/28758 (1F1 but still...)

feature

This would allow Array functions to be able to accept arrays of tuples, e.g. `size` And also allow vectorization of things like a [7-parameter function, which would currently be too...