v0.2.1: Fixed bug with ``s2d()`` with ``bool`` input