title: Type mismatch: cannot convert from double[] to double
body: <p>Maybe it is a beginner error, but I am disappointed by this error : 
  Type mismatch: cannot convert from double[] to double</p>
  
  <p>This is my code :</p>
  
  <pre><code>private double[][] valueRSSI = new double[5][10];
  private double value;
  
  [...]
  
  for(int i=0;i&lt;=M;i++)
          {
              for(int j=0;j&lt;=N;j++)
              {
                  kNN[i][j]=0;
                  for(int k=0;k&lt;=(numberdisplay-1);k++)
                  {
                      value = valueRSSI[k]; //The problem is here
                      kNN[i][j]=kNN[i][j]+ Math.pow( value - wifiActivity.getRadioMap(i,j,k),2) + value;
                  }
              }
          }   
  
      }
  </code></pre>
  
  <p>All of the variables are double, double[] or [][]. I have googled this error, but I don't find quickly this problem. Eclipse ask me to change valueRSSI from double[] to double, but I need a table for this. How can I solve this error? Thank you.</p>