mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
fix recursion depth O(logN): some algorithms
This commit is contained in:
parent
28697ee7a8
commit
5019f6aa96
162 changed files with 3600 additions and 1659 deletions
|
@ -11,7 +11,6 @@
|
|||
#include <sprout/sub_array.hpp>
|
||||
#include <sprout/utility/pair.hpp>
|
||||
#include HDR_FUNCTIONAL_SSCRISK_CEL_OR_SPROUT
|
||||
#include HDR_ITERATOR_SSCRISK_CEL_OR_SPROUT
|
||||
|
||||
namespace sprout {
|
||||
namespace fixed {
|
||||
|
@ -33,7 +32,7 @@ namespace sprout {
|
|||
)
|
||||
: sprout::fixed::detail::next_permutation_impl_4<Result>(
|
||||
sprout::fixed::swap_element(cont, i, sprout::prev(j)),
|
||||
NS_SSCRISK_CEL_OR_SPROUT::distance(first, ii)
|
||||
sprout::distance(first, ii)
|
||||
)
|
||||
;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue