nir: Only float and double types can be matrices