Update comp_tree.h

Changed function names