Use '=' for numeric comparison

`eq` should be used for object identity, not object equality.
Please check this patch.