Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ref_app/src/math/functions/math_functions_hypergeometric.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,13 @@

T x_pow_n_div_n_fact(x);

constexpr std::size_t local_buffer_size { std::size_t { UINT8_C(64) } };

// Define an allocator type for use in the containers below.
using allocator_type = util::ring_allocator<T, std::uint_fast32_t { UINT8_C(64) }>;
using allocator_type = util::ring_allocator<T, local_buffer_size>;

// Define a container type for the upcoming calculation.
using container_type = util::dynamic_array<T, allocator_type>;
using container_type = util::fixed_dynamic_array<T, local_buffer_size / sizeof(T), allocator_type>;

// The pochhammer symbols for the multiplications in the series expansion
// will be stored in non-constant STL vectors.
Expand Down
Loading
Loading