opm-grid icon indicating copy to clipboard operation
opm-grid copied to clipboard

Entity's geometry is returned by constant reference

Open berndflemisch opened this issue 7 years ago • 2 comments

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.

berndflemisch avatar Jun 15 '18 10:06 berndflemisch

Seems a reasonable and performance innocent fix. Will provide a patch and test

blattms avatar Jun 19 '18 09:06 blattms

Works for me, thank you!

berndflemisch avatar Jun 20 '18 14:06 berndflemisch