check for float32 not working => creating "segmentation fault"

Created by: khoury

Hello, I was getting "segmentation fault" lately while developing some code. The reason is mainly because the check of the data format is not working properly. Thank you, Elie