Skip to content

Commit

Permalink
Add FiniteElement::scalar_type (#871)
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells authored Nov 9, 2024
1 parent 4a17dc8 commit a2bb139
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/basix/finite-element.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ class FiniteElement
T, MDSPAN_IMPL_STANDARD_NAMESPACE::dextents<std::size_t, d>>;

public:
/// Scalar type.
using scalar_type = F;

/// @brief Construct a finite element.
///
/// Initialising a finite element calculates the basis functions of
Expand Down

0 comments on commit a2bb139

Please sign in to comment.