There seems to be a condition check, but not an assignment. I'm not sure the purpose of this:
if (!posterior_score_file.empty() && posterior_score_file != "None")
{
size_t k = 0;
for (size_t i = 0; i < scores.size(); ++i)
for (size_t j = 0; j < scores[i].size(); ++j)
{
scores[i][j] == tmp_classes[k] ? scores[i][j] : 1 - scores[i][j];
++k;
}
write_wigfile(scores, bin_bounds, posterior_score_file);
if (VERBOSE)
cout << "Bin score file: " + posterior_score_file << endl;
}