hidden="true" tabindex="-1"></a><span class="co">// ... result: a == (5, 5, 6)</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>The reason the value of <code>a</code> after the assignment is <span class="math inline">\((5,5,6)\)</span> rather than <span class="math inline">\((5,5,5)\)</span> is that Stan behaves as if the right-hand side expression is evaluated to a fresh copy. As another example, consider the following.</p>
<div class