Hello guys.
I am getting this error when I run this file. Can any of you clarify what is wrong in the code?
public class csector_node
{
public double [] relations;
public csector_node()
{
relations = new double [8];
for (int i = 0;i < 8;i++)
{
relations[i] = new double[8];
relations[i] = 0;
}
}
}
Error:
incompatible types
relations[i] = new double[8];
^
required: double
found: double[]
1 error
Process completed.