The Stan transpiler (from Stan to C++ and beyond).
BSD 3-Clause "New" or "Revised" License
140
stars
44
forks
source link
[Bug] Function inliner fails when a variable name is the same as one in the enclosing scope #1229
Closed
WardBrian closed 2 years ago
MRE:
Renaming
R
in either thetransformed parameters
block or in the function resolves the issue. I believe the issue stems from herePinging @SteveBronder
Originally posted by @WardBrian in https://github.com/stan-dev/stanc3/issues/1227#issuecomment-1194319053