shouldn't it be {x: g(x) not equal to 0} ? - iTeachChem