title: Stackoverflow arrays of arrays
body: <p>I'm computing some values and stocking them in a variable using a function like what is below:</p>
  
  <pre><code>array&lt;array&lt;double,1000&gt;,1000&gt; index;
  sum(double A, ..., array&lt;array&lt;double, 1000&gt;,1000&gt; &amp; index);
  </code></pre>
  
  <p>I make a quick watch on the index array of array and it's filled with values just in the execution of the above declaration. It's OK</p>
  
  <p>But! As soon as I call another function in which I use the index array, whose declaration is as follow:</p>
  
  <pre><code>average(..., array&lt;array&lt;double,1000&gt;,1000&gt; index, ...) 
  </code></pre>
  
  <p>I'm getting an Unhandled exception (Stack Overflow) which redirects me to an asm file (chkstk.asm):</p>
  
  <pre><code> test    dword ptr [eax],eax     ; probe page.
  </code></pre>
  
  <p>Any idea how to resolve this?</p>