Should not validate G, G' for cases when it is nan

this is where he removed the integer check...

@bobmyhill ?