Updated function call

Fixed compile error that came when updating to git head