Andrew Johnson

Results 115 issues of Andrew Johnson

## Description With the current signatures for `hessian` in `fwd` and `mix`, it is not possible to call the `fwd` implementation with `double` types. `mix/functor/hessian.hpp`: ```cpp template void hessian(const F&...

#### Submission Checklist - [x] Run unit tests: `./runTests.py src/test/unit` - [x] Run cpplint: `make cpplint` - [x] Declare copyright holder and open-source license: see below #### Summary Continuing updates...

## Summary Our Github CI for Windows is significantly out of date with the current RTools windows toolchain, this PR updates the workflows to run using the latest RTools44 toolchain...

## Summary Github has updated the `macos-latest` to use [ARM64 macos](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories), this PR is to run the unit tests and identify edge-cases/issues like #2935 to be fixed ## Tests N/A...

## Summary As discussed over in #2951, it would be useful to be able to iterate over nested containers and multiple arguments. This PR extends `scalar_seq_view` to work with `std::vector`...

Not sure if this is intended or worth changing, but the following manual sections for Array operations include signatures with no array types: - [Norms](https://mc-stan.org/docs/functions-reference/array_operations.html#norms): Contains both `array` and `vector`/`row_vector`...

#### Summary: A colleague has mentioned that it would be helpful for the manual to be more explicit about Stan's behaviour with range indexing that involves operations. For example: ```stan...

According to the [documentation](https://mc-stan.org/docs/2_26/functions-reference/normal-id-glm.html) one of the signatures for ```normal_id_glm``` is: ``` real normal_id_glm_lpdf(vector y | row_vector x, real alpha, vector beta, real sigma) ``` But this signature is not...

When running the reverse-dependency checks for `rstan` 2.31 with the `stanc3` branch for [erroring on expired deprecations](https://github.com/stan-dev/stanc3/pull/1287), the majority of dependencies are failing (mostly due to the array syntax). Rather...

It looks like `stanc` ignores the `-fsoa` flag if any undefined functions are used in the likelihood. Given the following model: ```stan functions { real undefined_fun(vector x); } data {...