fixed documentation for scalar.

Thanks to @kosklain for pointing it out in #99