Either that, or adjust type hints to promise only doubles. I have a sneaking suspicion that the Cython package will either fail if given singles or silently convert to doubles.