stan-dev / stanc3

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

Add a proper suffix to auxiliary variables #1217

Closed nhuurre closed 2 years ago

nhuurre commented 2 years ago

Submission Checklist

Fix #1216

Copyright and Licensing

Copyright holder: Niko Huurre

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)

WardBrian commented 2 years ago

Ah, I assumed the bug was because of the class named context, not that we were renaming something to context__ too.

Thanks for the fix, do you mind adding a model which previously would have failed to compile as a test?