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

Fix return type of indexing operations on complex containers #1158

Closed WardBrian closed 2 years ago

WardBrian commented 2 years ago

Submission Checklist

Release notes

Fix indexing of a complex container to return the correct type

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)