this is a float to bool conversion. I will fix it to remove the warning but you should check if the fix is correct