title: possible loss of precision required int found double array
body: <p>I have read a file and require the variables to be doubles as they are decimals.  So have done this:</p>
  
  <pre><code>String[] data = list.split("\\t");
  
          homes = Double.parseDouble(data[0]);
          rate = Double.parseDouble(data[1]);
  </code></pre>
  
  <p>I am now trying to put the data in an array but am getting the following error: </p>
  
  <blockquote>
    <p>possible loss of precision<br>
    required: int<br>
    found: double array</p>
  </blockquote>
  
  <p>I need the variables homes and rate to be in an array in order to do a calculation and need them to be doubles as rate is a percentage in decimal:</p>
  
  <pre><code>private boolean [][] place = new boolean [homes][rate];
  </code></pre>
  
  <p>How can I stop this error? </p>