Skip to content

Commit

Permalink
[bug] remove macos build error for c++ templates
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Mar 11, 2024
1 parent d27d9b7 commit 4517782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mmc_highorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ std::string face_to_string(int a, int b, int c) {
#endif
void mesh_getfacenb(tetmesh* mesh, mcconfig* cfg) {
std::vector<std::string> faces;
std::map<std::string, std::pair<unsigned int, unsigned int>> facenb;
std::map< std::string, std::pair<unsigned int, unsigned int> > facenb;

faces.reserve(mesh->ne << 2);

Expand Down Expand Up @@ -153,4 +153,4 @@ void mesh_getfacenb(tetmesh* mesh, mcconfig* cfg) {
mesh->facenb[i] = ((i >> 2) + 1 == item.first ? item.second : item.first);
}
}
}
}

0 comments on commit 4517782

Please sign in to comment.