Fix for bug #21984 (https://gna.org/bugs/?21984), the numpy.float16 error.
The numpy.float16 type is not defined for all numpy versions. Therefore the lib.check_types.float16
type is used instead as this defaults to numpy.float32 when numpy.float16 is missing.