Update CompositeFunction.cpp