Skip to content

#1096 Spurious static in YaspGrid::entityPointer

Metadata

Property Value
Reported by Steffen Müthing (steffen.muething@iwr.uni-heidelberg.de)
Reported at Apr 27, 2012 09:36
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Christoph Grüninger (gruenich@iws.uni-stuttgart.de)
Last edited at Jun 24, 2012 20:57
Closed by Christoph Grüninger (gruenich@iws.uni-stuttgart.de)
Closed at Jun 24, 2012 20:57
Closed in version 2.3
Resolution Fixed
Comment In r8251, thanks for the patch.

Description

The body of YaspGrid::entityPointer() declares a local helper variable for the (statically known) codimension as "static const", which is probably not what was intended...

The attached patch fixes the issue.

Attachments