stan-dev / stanc3

The Stan transpiler (from Stan to C++ and beyond).
BSD 3-Clause "New" or "Revised" License
138 stars 44 forks source link

Selectively initialize SoA types #1323

Closed WardBrian closed 1 year ago

WardBrian commented 1 year ago

See https://github.com/stan-dev/math/issues/2895.

This is probably not an ideal solution since I think it causes a lot of extra work, only some of which will probably be necessary.

Submission Checklist

Release notes

Fixed a bug with certain assignment statements causing segmentation faults when the model was compiled with --O1

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)