small edit to commet in betafunction.cpp that was missed out when commited.