For an assignment like this
float sums[feature_column] = {0.0};
where feature_column
is integer, I get this error on gcc 4.8.5
error: variable "sums" may not be initialized
How can I solve that? Isn't {0.0}
an initialization?
For an assignment like this
float sums[feature_column] = {0.0};
where feature_column
is integer, I get this error on gcc 4.8.5
error: variable "sums" may not be initialized
How can I solve that? Isn't {0.0}
an initialization?