fix merge take2

This commit is contained in:
Jacob Gissinger
2022-08-08 17:58:58 -04:00
parent 8ac7aac620
commit c005a3d30d

View File

@ -1823,7 +1823,7 @@ void AtomVec::write_data(FILE *fp, int n, double **buf)
} else if (datatype == Atom::INT) {
if (cols == 0) {
if (atom->types_style == Atom::LABELS &&
strcmp(atom->peratom[mdata_atom.index[nn]].name,"type") == 0) {
atom->peratom[mdata_atom.index[nn]].name == "type") {
fmt::print(fp," {}",atom->lmaps[0]->typelabel[ubuf(buf[i][j++]).i-1]);
continue;
}