Fixed an accidental typo

I added a function when updating the documentation and made a typo. Fixed and double tested