From c005a3d30d0eb67fd698d8a160b14756d1342230 Mon Sep 17 00:00:00 2001 From: Jacob Gissinger Date: Mon, 8 Aug 2022 17:58:58 -0400 Subject: [PATCH] fix merge take2 --- src/atom_vec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atom_vec.cpp b/src/atom_vec.cpp index bd64b54cc5..d904b6470e 100644 --- a/src/atom_vec.cpp +++ b/src/atom_vec.cpp @@ -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; }