Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return a copy for Geomerty::center()
This is mandated by the DUNE interface. It also makes a lot of sense because now people do not need to think whether const auto& center = entity.geometry().center(); might cause a dangling reference. It just wont as it is always a copy and never a reference to a member.
- Loading branch information