lib/src/diet.c
static inline struct ival * find_max(struct ival * const i)
{
    if (i == 0)
        return 0;
    struct ival * n = i;
    while (splay_right(n, node))
        n = splay_right(n, node);
    return n;
}
/// Return maximum interval underneath @p i.
///
/// @param      i     Interval inside diet tree.
///
/// @return     Largest interval underneath @p i.
///
Return maximum interval underneath @p i.
Return maximum interval underneath @p i .
static inline struct ival * find_max(struct ival * const i)
{
    if (i == 0)
        return 0;
    struct ival * n = i;
    while (splay_right(n, node))
        n = splay_right(n, node);
    return n;
}
static inline struct ival * find_max ( struct ival * const i ) { if ( i == 0 ) return 0 ; struct ival * n = i ; while ( splay_right ( n , node ) ) n = splay_right ( n , node ) ; return n ; }
Return maximum interval underneath @p i.
Return maximum interval underneath @p i .