changed validity check to single precision instead of double
changed validity check to single precision instead of double

Former-commit-id: 8d27d1063b9d9c4696e010fdba21baf47e34b0b9
OpenFAST/OpenFAST,OpenFAST/OpenFAST,OpenFAST/OpenFAST