Fix: off by one error in previous commit
Fixes rB90253ad2e753acde161b38d82bd650d54d3f6581.
This commit is contained in:
parent
52ed8bcb27
commit
e497da5fda
|
@ -1088,7 +1088,7 @@ class LazyFunctionForAnonymousAttributeSetJoin : public lf::LazyFunction {
|
|||
constexpr int cache_amount = 16;
|
||||
static std::array<LazyFunctionForAnonymousAttributeSetJoin, cache_amount> cached_functions =
|
||||
get_cache(std::make_index_sequence<cache_amount>{});
|
||||
if (amount <= cached_functions.size()) {
|
||||
if (amount < cached_functions.size()) {
|
||||
return cached_functions[amount];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue