old_code/current_load.py
def deltaVCDU(a, b):
    """Minimum difference between two vcdu values, allowing for wrap around.
    """
    d = b - a
    if d < 0:
        if abs(d) > abs(d + vcduWrap):
            d += vcduWrap
    elif d > abs(d - vcduWrap):
        d -= vcduWrap
    return d
Minimum difference between two vcdu values, allowing for wrap around.
    
Minimum difference between two vcdu values, allowing for wrap around.
Minimum difference between two vcdu values allowing for wrap around .
def deltaVCDU(a, b):
    d = b - a
    if d < 0:
        if abs(d) > abs(d + vcduWrap):
            d += vcduWrap
    elif d > abs(d - vcduWrap):
        d -= vcduWrap
    return d
def deltaVCDU ( a , b ) : d = b - a if d < 0 : if abs ( d ) > abs ( d + vcduWrap ) : d += vcduWrap elif d > abs ( d - vcduWrap ) : d -= vcduWrap return d
Minimum difference between two vcdu values, allowing for wrap around.
Minimum difference between two vcdu values allowing for wrap around .
"""Minimum difference between two vcdu values, allowing for wrap around.
    """
a
b