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

Investigate function inlining in transformed data block #1219

Open WardBrian opened 2 years ago

WardBrian commented 2 years ago

The zero-size objects created by function inlining are not properly treated by the data code generation. For now this has lead us to disable the function inliner only for this block (See mitigation in #1218), but we should find a better solution eventually, especially since this may prevent the use of SoA matrices for items constructed in transformed data.

Pinging @SteveBronder on this