| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
forced depth limit, or a negative value to restore. |
Test-only override for the introsort's depth limit; NEGATIVE restores the computed one.
Zero makes the very first oversized range fall back to heapsort, which is the only way to reach that arm from a test-sized fixture. Has no effect on the C++ engine. Also ZEROES the heapsort counter, so a test arms and reads in the obvious order.