I need to generate array of int []. How I can do it. Method iota return uint, but I need to get ints:
int [] myarr2 = (iota(0, 10).array);
app.d(11): Error: cannot implicitly convert expression (array(iota(0, 10))) of type uint[] to int[]
I need to generate array of int []. How I can do it. Method iota return uint, but I need to get ints:
int [] myarr2 = (iota(0, 10).array);
app.d(11): Error: cannot implicitly convert expression (array(iota(0, 10))) of type uint[] to int[]