Hi,
I'm trying to execute this but it says "cannot implicitly convert int to bool".
for (i = 0; i < k; i++) {
for (j = 0; j < m; j++) {
c[i][j] = counts[i] ? c1[i][j] / counts[i] : c1[i][j];
}
}
Is there anyway that I can write it as simple as possible without any complications?
Thanks