r: int[] can&#39;t be assigned to real[]</code></pre>
<p>Integer arrays may not be assigned to real values. However, this
problem is easily sidestepped by using real literal expressions.</p>
<pre class="stan"><code>real a[2] = { -3.0, 12.0 };</code></pre>
<p>Now the types match and the assignment is allowed.</p>
</div>
</div>
</div>
            </section>

          </div>
        </div>
      </div>
<a href="variables-section.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa