stan-dev / stan

Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
https://mc-stan.org
BSD 3-Clause "New" or "Revised" License
2.59k stars 370 forks source link

Fix matrix indexing #3112

Closed rok-cesnovar closed 2 years ago

rok-cesnovar commented 2 years ago

Submission Checklist

Summary

Closes https://github.com/stan-dev/cmdstan/issues/1084

Copyright and Licensing

Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Rok Češnovar

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: