FunctionSlot.clear() does not clear function weights list
FunctionSlot.clear() does not clear function weights list