opm-grid
opm-grid copied to clipboard
Entity's geometry is returned by constant reference
Apart from violating Dune's interface for already a very long time,
this can lead to errors, e.g., if you assume that the result of geometry() can be moved.
Seems a reasonable and performance innocent fix. Will provide a patch and test
Works for me, thank you!