Skip to content

Commit

Permalink
revert some bad change
Browse files Browse the repository at this point in the history
  • Loading branch information
bam241 committed Sep 5, 2024
1 parent 7226e2e commit 930ea02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,12 @@ void Cell::to_hdf5(hid_t cell_group) const
// default constructor
CSGCell::CSGCell()
{
geom_type_ = GeometryType::CSG;
geom_type() = GeometryType::CSG;
}

CSGCell::CSGCell(pugi::xml_node cell_node)
{
geom_type_ = GeometryType::CSG;
geom_type() = GeometryType::CSG;

if (check_for_node(cell_node, "id")) {
id_ = std::stoi(get_node_value(cell_node, "id"));
Expand Down

0 comments on commit 930ea02

Please sign in to comment.