]> https://gitweb.dealii.org/ - dealii.git/commit
FESystem: do not abuse Subscriptor* as a fancy void* 15564/head
authorMatthias Maier <tamiko@43-1.org>
Sat, 1 Jul 2023 14:44:58 +0000 (09:44 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sat, 1 Jul 2023 19:16:14 +0000 (14:16 -0500)
commit4d6668b55a53ca4758d007fafc06ad3a5422ba73
tree68d5ac23c0672c8883e67384ebc30960447fa73a
parentbd60e7b9bbef9ebb459b03997b6c52b7e1ed7a8d
FESystem: do not abuse Subscriptor* as a fancy void*

Instead use dynamic_cast to check for cast compatibility at runtime.
Interestengly, we already did in the debug Assert to check that
everything is in order.
source/fe/fe_system.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.