After looking at the function it does indeed perform cross validation. Fixed in the next commit.