def smoothmap(min, max, x):
    """Returns the value of a smooth remapping function.

    performs a smooth Hermite interpolation between 0 and 1 in the interval min to max,
    but does not clamp the range

    :rtype: float
    """
    x = float(x)
    x = float(x-min)/float(min-max)
    return x*x*(3.0-2.0*x)
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/util/mathutils.py/smoothmap/swapped operands of `-`