Skip to content

Commit a2bb139

Browse files
authored
Add FiniteElement::scalar_type (#871)
1 parent 4a17dc8 commit a2bb139

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpp/basix/finite-element.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ class FiniteElement
142142
T, MDSPAN_IMPL_STANDARD_NAMESPACE::dextents<std::size_t, d>>;
143143

144144
public:
145+
/// Scalar type.
146+
using scalar_type = F;
147+
145148
/// @brief Construct a finite element.
146149
///
147150
/// Initialising a finite element calculates the basis functions of

0 commit comments

Comments
 (0)